Computer Science, asked by raghavmaderna89, 2 days ago

State the syntax of 'for' loop. Give example.​

Answers

Answered by rajveer34u8
2

Answer:

int num, count, sum = 0; printf("Enter a positive integer: "); scanf("%d", &num); //for loop terminates when n is less than count.

Answered by Nourin2006
1

Answer:

Example:- for(int i = 0; i < n ; i++)

Similar questions