Joined
Last Seen
-4 Reputation Points
- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
60% Quality Score
- Upvotes Received
- 2
- Posts with Upvotes
- 1
- Upvoting Members
- 2
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
0 Endorsements
Ranked #25.0K
3 Posted Topics
any of u guys hav any gud ebook for C/C++...with lots of programming examples... pls...share thnkzz
Re: armstrong number
hope this helps u gettin final code... [code] eg:..to find 3 digit armstrong number: void main() { int a,b,c,i; printf("enter a 3 digit number\n"); scanf("%d",&i); a=(i-(i%100))/100; b=((i%100)-(i%10))/10; c=i%10; num=(a*a*a)+(b*b*b)+(c*c*c); if(num==i) printf("\nthis is armstrong"); getch(); } [/code]
wap to print following pattern?? [code] ABCDEFGFEDCBA ABCDEF FEDCBA ABCDE EDCBA ABCD DCBA ABC CBA AB BA A A [/code] the pattern is not showin up proper,,but hope u guys get it.. its kinda /\ shape formation b/w those letters this is wat i tried out..... int i,j....; int m=65; …
The End.
tech2chill