Looping | Sololearn: Learn to code for FREE!

-5

Looping

Write a c++ program that display a loop of numbers 1 to 10 vertically if the input value is for a do loop; a loop of number 10 to 1 vertically if the input value is for a while loop and display a loop of numbers 1 to 10 horizontally if the input value is for a For loop .

8/25/2018 4:05:47 AM

Wayu Mahigugmaon

1 Answer

New Answer

+5

Please post your attempt first.