Numeric Loop_1.3

#include <stdio.h>
int main (void)
{
    int i;
    for(i=1;i<=10;i++)
    printf("%d ",(i+3)/2);
    system("pause");
    return 0;
}


The Output is Given Below:
2 2 3 3 4 4 5 5 6 6

0 comments:

Post a Comment