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
What is property in oops?
What is interface in oop?
which feature are not hold visual basic of oop?
What is inheritance and how many types of inheritance?
Write a program to sort the number with different sorts in one program ??
Whats is abstraction in oops?
Why do while loop is used?
How do you achieve polymorphism?
What is encapsulation example?
What is difference between inheritance and polymorphism?
Can private class be inherited?
Is this job good for future? can do this job post grduate student?
What is abstraction and encapsulation?
any one please tell me the purpose of operator overloading
Why is oop better than procedural?