QUESTIN 2
2. Write a program that generates the following table:
1990 135
1991 7290
1992 11300
1993 16200
ANSWER: CH2 SOLVED BY WAJID
#include
#include
#include
void main(void)
{
int i, i_arr[4]={135,7290,11300,16200};
do{
for(i=1990;i<1994;i++) cout< cout<<"\n !Press c to continue or any key to exit."<
}while(getch()=='c');
}
1990 135
1991 7290
1992 11300
1993 16200
ANSWER: CH2 SOLVED BY WAJID
#include
#include
#include
void main(void)
{
int i, i_arr[4]={135,7290,11300,16200};
do{
for(i=1990;i<1994;i++) cout< cout<<"\n !Press c to continue or any key to exit."<
}
No comments:
Post a Comment