Array in Function

Write C++ program tell the user
Press 1 to change Row to Row and change (using Function ) output like that :
1 1 1
2 2 2
3 3 3
and press 2 to change Row to Col and change (using function) output like that :
1 2 3
1 2 3
1 2 3
and press 0 to End the Program

Showing Answers 1 - 1 of 1 Answers

mayank

  • Sep 7th, 2016
 

Code
  1. #include <iostream>

  2. " ""

  3. "" ""

  4. "" enter the number 0,1,or 2:""

  5. Hello world!"

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions