Write a program for the following series?
1
121
12321
1234321
123454321
12345654321
1234567654321
123456787654321
12345678987654321
1234567890987654321
123456789010987654321
12345678901210987654321
1234567890123210987654321
.........1234321............
..........123454321............
..........12345654321............
7
8
9
0
1
Pls............?
Answer Posted / kkx
hi this is no the pgrm
let u want to find nth number
value = "n";
while(n-1)
{
value = value+ "n-1";
value= "n-1" + value;
n= n-1;
}
| Is This Answer Correct ? | 7 Yes | 2 No |
Post New Answer View All Answers
c program to compute AREA under integral
Explain how do you list files in a directory?
What are 'near' and 'far' pointers?
What do you mean by c what are the main characteristics of c language?
What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?
Why n++ execute faster than n+1 ?
What will the preprocessor do for a program?
What is difference between main and void main?
WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?
What is malloc() function?
Describe wild pointers in c?
What are data structures in c and how to use them?
How do you define a string?
What does main () mean in c?
What are the two types of structure?