Write a program to construct the image shown below.
1111111111
222222222
333333333
444444444
555555555
666666666
777777777
888888888
999999999
#include <stdio.h>
#include <conio.h>
void main ( )
{
int i, j, k;
clrscr ( );
printf ("\n\t\t\t Designee of Numbers");
printf ("\n\n\n\t\t\t\t");
for ( i = 1; i <= 9; i++ )
{
for ( j = 1; j <= 9; j++ )
{
printf ("%d", i);
}
printf ("\n\t\t\t\t");
}
getch ( );
}
Click here to contact us
1111111111
222222222
333333333
444444444
555555555
666666666
777777777
888888888
999999999
#include <stdio.h>
#include <conio.h>
void main ( )
{
int i, j, k;
clrscr ( );
printf ("\n\t\t\t Designee of Numbers");
printf ("\n\n\n\t\t\t\t");
for ( i = 1; i <= 9; i++ )
{
for ( j = 1; j <= 9; j++ )
{
printf ("%d", i);
}
printf ("\n\t\t\t\t");
}
getch ( );
}
Click here to contact us
No comments:
Post a Comment