Q#4: Write a program that generates the Following table:
1990 135
1991 7290
1992 11300
1993 16200
Use a Single cout statement for all output.
#include <iostream>
using namespace std;
int main()
{
cout << 1990 << " " << 135 << endl
<< 1991 << " " << 7290 << endl
<< 1992 << " " << 11300 << endl
<< 1993 << " " << 16200;
}
Comments
Leave a comment