1234554321
1234 4321
123 321
12 21
1 1
12 21
123 321
1234 4321
1234554321
Answer Posted / mahesh m
#include<stdio.h>
int main()
{
int i,j,n=5,a;
for (i=1;i<5;i++)
{
for(j=1;j<=n;j++)
{
printf("%d",j);
a=j;
}
for(int k=1;k<=n;k++)
{
printf("%d",a);
a--;
}
n=n-1;
}
}
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Prepare me a program for the animation of train
What is polymorphism and why is it important?
Get me a number puzzle game-program
What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?
What is object and class in oops?
what are the realtime excercises in C++?
What is abstract class in oop?
Can we override main method?
What is coupling in oops?
How do you use inheritance in unity?
What is abstract class in oops?
#include
Can a varargs method be overloaded?
What is overriding vs overloading?
Why is polymorphism needed?