Hi, i have a project that the teacher want a pyramid of
numbers in C# or java...when we click a button...the
pyramid should be generated in a listbox/or JtextArea...and
the pyramid should have the folowing form:


1
232
34543
4567654
567898765
67890109876
7890123210987
890123454321098
90123456765432109
0123456789876543210

Plz help with codes...didn't find anything on the net.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Code Interview Questions

Find your day from your DOB?

15 Answers   Accenture, Microsoft,


main() { int i=10; void pascal f(int,int,int); f(i++,i++,i++); printf(" %d",i); } void pascal f(integer :i,integer:j,integer :k) { write(i,j,k); }

1 Answers  


Finding a number which was log of base 2

1 Answers   NetApp,


struct aaa{ struct aaa *prev; int i; struct aaa *next; }; main() { struct aaa abc,def,ghi,jkl; int x=100; abc.i=0;abc.prev=&jkl; abc.next=&def; def.i=1;def.prev=&abc;def.next=&ghi; ghi.i=2;ghi.prev=&def; ghi.next=&jkl; jkl.i=3;jkl.prev=&ghi;jkl.next=&abc; x=abc.next->next->prev->next->i; printf("%d",x); }

1 Answers  


Write a program to receive an integer and find its octal equivalent?

7 Answers  






how to return a multiple value from a function?

2 Answers   Wipro,


main() { int i=-1; -i; printf("i = %d, -i = %d \n",i,-i); }

1 Answers  


Write a program to model an exploding firecracker in the xy plane using a particle system

0 Answers   HCL,


main() { int i=-1; +i; printf("i = %d, +i = %d \n",i,+i); }

1 Answers  


Derive expression for converting RGB color parameters to HSV values

1 Answers  


prog. to produce 1 2 3 4 5 6 7 8 9 10

4 Answers   TCS,


Given an array of characters which form a sentence of words, give an efficient algorithm to reverse the order of the words (not characters) in it.

9 Answers   Microsoft,


Categories