Answer to Question #287062 in C++ for Chandu

Question #287062

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

1
Expert's answer
2022-01-13T03:56:54-0500
#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!

Comments

No comments. Be the first!

Leave a comment