Write a program that 1 reads in a string of numbers 2 loops


Nested looping C++.

Write a program that: (1) Reads in a string of numbers (2) Loops through the digits in the string (3) For each digit in string print that many '+' on a line.

For example:

INPUT:
3322

OUTPUT
+++
+++
++
++

INPUT:
4352

OUTPUT:
++++
+++
+++++
++

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Write a program that 1 reads in a string of numbers 2 loops
Reference No:- TGS02876068

Expected delivery within 24 Hours