Computer Science, asked by monalisachowdhury833, 3 months ago

write an algorithm to display the first 10 ​

Answers

Answered by himanshu2006vps
0

Explanation:

Algorithm in c

#include <stdio.h>

void main()

{

int i;

printf("The first 10 natural numbers are:\n");

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

{

printf("%d ",i);

}

printf("\n");

}

Similar questions