Write a program that displays the number from 10 to 1.


Difficulty level
This exercise is mostly suitable for students
#include <stdio.h>
#include <conio.h>

void main()
{


	int I=10; 
	while (I)
   		printf("%i \n", I--);


	getch();
}

Back to the list of exercises
Looking for a more challenging exercise, try this one !!
Sort 3 integers