0

How can I write a code to repeat a number n times using while loop and for loop in C

Smart people please answer

16th May 2021, 11:16 AM
ROHAN GUPTA
ROHAN GUPTA - avatar
5 ответов
+ 1
cycle lessons are covered starting with Lesson 8.1 of your C course. Be consistent and patient, study each lesson carefully step by step and you will answer your own question
16th May 2021, 11:56 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
0
Hi! Please, show us your effort!
16th May 2021, 11:51 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
0
Ask for help, do not ask for solutions. Show us your code and we will help you with your doubt. 😜
16th May 2021, 12:25 PM
Eze
0
May be you will not BELIVE me but I have wrote code using while in laptop but it is not giving any output And so for showing you I have to take it from my laptop Don't tell me complete way just tell me some clue, I will thank to you please
16th May 2021, 2:10 PM
ROHAN GUPTA
ROHAN GUPTA - avatar
0
while(condition) { // do something. // if your loop depends on the increment / decrement of a number, remember to increment / decrement your variable here. e.g: n++ }
16th May 2021, 2:34 PM
Eze