Saturday, August 27, 2016

uri- 1142 - PUM

#include<stdio.h>

int main()
{
int a,b,c=1;
scanf("%d",&b);
for(a=b;a>0;a--){
            printf("%d ",c++);
            printf("%d ",c++);
            printf("%d ",c++);
            c++;

        printf("PUM\n");
}
return 0;
}

No comments: