Write a program to print off digit number using loop 1to 10
Answers
Answered by
0
Using while loop, in this C program we are going to print the numbers from 1 to 10.
To print the numbers from 1 to 10,
We will declare a variable for loop counter (number).
We will check the condition whether loop counter is less than or equal to 10, if condition is true numbers will be printed.
If condition is false – loop will be terminated.
To print the numbers from 1 to 10,
We will declare a variable for loop counter (number).
We will check the condition whether loop counter is less than or equal to 10, if condition is true numbers will be printed.
If condition is false – loop will be terminated.
Answered by
1
it helps you . thankk
Attachments:
Similar questions
Science,
6 months ago
History,
6 months ago
English,
1 year ago
Math,
1 year ago
Social Sciences,
1 year ago