print pattern
1 1
33 33
555 555
77777777
555 555
33 33
1 1
Answer / kiran kumar
#include<stdio.h>
main()
{
int i,j,space=6,val=1;
for(i=0;i<4;i++)
{
for(j=0;j<=i;j++)
printf("%d",val);
for(j=0;j<space;J++)
printf(" ");
for(j=0;j<=i;j++)
printf("%d",val);
space-=2;
val+=2;
}
repeat code once again;
space+=2;
val-=2
}
Is This Answer Correct ? | 2 Yes | 5 No |
what is diference between return 0 and return NULL??
Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor
why u join this call center?
Why do some versions of toupper act strangely if given an upper-case letter?
write a program which will count occurance of a day between two dates.
How can I do serial ("comm") port I/O?
What is the sizeof () a pointer?
What are linked lists in c?
How can I delete a file?
What is the use of define in c?
What is structure packing ?
What is data structure in c programming?