UPSC PRELIMS 2020

Search This Blog

Wednesday, 12 March 2014

Problem In C Language for Printing ROWS or lines only best with output

#include

int main()
{
    int i,j,n;
printf("Enter lines : ");
scanf("%d",&n);
for(i=1; i<=n; i++)  /* for loop used for printing row only*/
{

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

OUTPUT:



No comments:

Post a Comment