Answer to Question #27216 in C++ for noorulain

Question #27216
write a program that generates the following table
1990 135
1991 7290
1992 11300
1993 16200
1
Expert's answer
2013-03-29T05:14:16-0400
#include <iostream>
using namespace std;

int col2[] = {135, 7290, 11300, 16200};

int main() {
for (int i = 0; i <= 3; i++)
& cout << 1990+i << " quot; << col2[i] << "\n";
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS