Program to print first five numbers using WHILE (C++)

Program to print first five numbers in C


#include <stdio.h>
#include <conio.h>
void main()

int n=1;
while (n<=5)
printf(“%d”, n);


“My posts/articles/images are not allowed to be stolen/copied anywhere at Cyber space. Doing so will allow me to take a legal action against the copier.”

Related Posts

Leave a Comment

Kindly solve the following puzzle to prove that you\'re not a bot: