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
Expert's answer
#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 first!

Leave a comment

Ask Your question

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS
paypal