How i can make a counter by using for loop !!can any body explain it to me !!!! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How i can make a counter by using for loop !!can any body explain it to me !!!!

30th Oct 2016, 10:05 PM
malak
2 Answers
+ 2
Create an int variable called 'counter' Create a for loop Inside the loop, increment the counter by 1 After the loop, output counter
31st Oct 2016, 12:45 AM
Liam
Liam - avatar
0
thank u ,anthor qustion pls how i can make a c++ prog that insert 10 values from keyborad and print to the screen the minimum number
31st Oct 2016, 1:14 AM
malak