#include#include main(){ int i,j,n; printf("Enter the value of range:"); scanf("%d",&n); for(i=1;i<=n;i++) { for(j=1;j<=i;j++) { printf("%d",i); } printf("\n"); }}
555554444333221i want to make this program.
This comment has been removed by the author.
for(i=n;i>=1;i--) { for(j=i;j>= 1;j--) { printf("%d",i); } printf("\n"); }
how to fnd their sum
#includeint main(){ char i; int j; for(i=65;i<80;i++) { for(j=1;j<=i-64;j++) { printf("%c ",i); } printf("\n"); } return 0;}
output:AB BC C C D D D DE E E E EF F F F F FG G G G G G GH H H H H H H HI I I I I I I I IJ J J J J J J J J JK K K K K K K K K K KL L L L L L L L L L L LM M M M M M M M M M M M MN N N N N N N N N N N N N NO O O O O O O O O O O O O O O
Multiplication table from 1 to 10
Plz reply me fast tomorrow is my exam
13 35 5 57 7 7 7
please answer the this question input is 3 output should be 333313312333
#include
ReplyDelete#include
main()
{
int i,j,n;
printf("Enter the value of range:");
scanf("%d",&n);
for(i=1;i<=n;i++)
{
for(j=1;j<=i;j++)
{
printf("%d",i);
}
printf("\n");
}
}
55555
ReplyDelete4444
333
22
1
i want to make this program.
This comment has been removed by the author.
Deletefor(i=n;i>=1;i--) {
Deletefor(j=i;j>= 1;j--) {
printf("%d",i);
}
printf("\n");
}
This comment has been removed by the author.
ReplyDeletehow to fnd their sum
ReplyDelete#include
ReplyDeleteint main()
{
char i;
int j;
for(i=65;i<80;i++)
{
for(j=1;j<=i-64;j++)
{
printf("%c ",i);
}
printf("\n");
}
return 0;
}
output:
DeleteA
B B
C C C
D D D D
E E E E E
F F F F F F
G G G G G G G
H H H H H H H H
I I I I I I I I I
J J J J J J J J J J
K K K K K K K K K K K
L L L L L L L L L L L L
M M M M M M M M M M M M M
N N N N N N N N N N N N N N
O O O O O O O O O O O O O O O
Multiplication table from 1 to 10
ReplyDeletePlz reply me fast tomorrow is my exam
ReplyDelete1
ReplyDelete3 3
5 5 5
7 7 7 7
please answer the this question input is 3 output should be
ReplyDelete333
313
312
333