Asked by Ayuda!!!

Part A: Write a code segment that inputs an integer from cin, and then outputs a row of that many stars on cout.
Part B: Change the code segment to read a series of numbers from file indata, and print a row of stars on cout for each number read.

Answers

Answered by MathMate
Or one of these tutorials on C++:
http://www.cprogramming.com/tutorial/lesson1.html
http://www.cprogramming.com/tutorial/lesson3.html
There are no AI answers yet. The ability to request AI answers is coming soon!

Related Questions