Question #7582

WRITE A PROGRAM THAT GENERATES THE FOLLOWING TABLES
1990 135
1991 7290
1992 11300
1993 16200

Expert's answer


# include<iostream.h>
# include<conio.h>

void main(){
int N=1990;
cout<<N;
cout<<" quot;;
cout<<"135\n";
cout<<N+1;
cout<<" quot;;
cout<<"7290\n";
cout<<N+2;
cout<<" quot;;
cout<<"11300\n";
cout<<N+3;
cout<<" quot;;
cout<<"16200\n";
}
LATEST TUTORIALS
APPROVED BY CLIENTS