Computer Science, asked by HappiestWriter012, 1 year ago

write a program in c language to print 1 to 10 numbers using for loop

don't forget to write what would be input


dainvincible1: i think it will be output

Answers

Answered by dainvincible1
1

\\* to print numbers 1 to 10*//

#include <stdio.h>

void main()

{

int count;

// *Display the numbers 1 through 10*//

for(count = 1; count <= 10; count++)

printf("%d ", count);

printf("\n");

}


and the output is 1 2 3 4 5 6 7 8 9 10

Press any key to continue


dainvincible1: plzz mark as brainlist
Answered by muddassir47
1

Plz mark me as brain list.....

Attachments:
Similar questions