Question #287062

Write a program to read numbers 10,20,30,40,50,60,70,80,90,100 and print same numbers

Expert's answer

#include <iostream>
using namespace std;
int main() {
  int a,b,c,d,e,f,g,h,i,j = 10,20,30,40,50,60,70,80,90;
  cout << a << " ," << b << " ," << c << " ," << d << " ," << e << " ," << f << " ," << g << " ," << h << " ," << i << " ," << j << "." << endl;
  return 0;
}


10, 20, 30, 40, 50, 60, 70, 80, 90.

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!

LATEST TUTORIALS
APPROVED BY CLIENTS