Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

how to write loop for any type of operation in c launguage ?

+5 votes
asked Nov 15, 2022 by Priya Mugada (170 points)

2 Answers

0 votes
answered Nov 15, 2022 by Peter Minarik (84,720 points)

Please, have a look at this.

+1 vote
answered Nov 25, 2022 by Kamal Lukka (260 points)
for(i=0;i<5;i++)  //for (intialization;condition;increment/decrement operator)

{

printf(" %dst condition passed ",i);

}

check here ->> https://onlinegdb.com/Tea5DU2ou
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...