How i can make a counter by using for loop !!can any body explain it to me !!!! | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
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 Réponses
+ 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