This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
int main() | |
{ | |
using namespace std; | |
int num=0,num1=1,num0=0,sum=0; | |
while(num<=4000000) | |
{num=num1+num0; | |
num0=num1; | |
num1=num; | |
if(num%2==0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
#include<dos.h> | |
#include<conio.h> | |
#include<stdlib.h> | |
void main() | |
{char far *p; | |
char w[100]; | |
int i,j,k; | |
int m=10; | |
p=(char far*) 0xb8000000L;//starting address of vdu memory |