Input :
#include <stdio.h>
#include <stdlib.h>
int main()
{
int i;
i = 1;
while (i<=5)
{
printf ("%d",i);
i++;
}
return 0;
}
#include <stdio.h>
#include <stdlib.h>
int main()
{
int i;
i = 1;
while (i<=5)
{
printf ("%d",i);
i++;
}
return 0;
}
Output :
12345
No comments:
Post a Comment