12344321
123 321
12 21
1 1 how i print this program??
Answer Posted / sunitha
for(i=1;i<=5;i++)
{
for(j=1;j<=i;i++)
{
for(k=1;k<=j;k++)
printf("%d",k);
k--;
printf("%d",k);
}
}
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
Explain what will be the outcome of the following conditional statement if the value of variable s is 10?
When the macros gets expanded?
Why does notstrcat(string, "!");Work?
What are run-time errors?
How can I sort a linked list?
write a progrmm in c language take user interface generate table using for loop?
What is extern c used for?
What is an endless loop?
how many types of operators are include in c language a) 4 b) 6 c) 8 d) 12
What are the advantages of using macro in c language?
What is file in c preprocessor?
A routine usually part of the operation system that loads a program into memory prior to execution a) linker b) loader c) preprocessor d) compiler
Why & is used in c?
Write a program to swap two numbers without using a temporary variable?
Ow can I insert or delete a line (or record) in the middle of a file?