Joined
Last Seen
0 Reputation Points
0% Quality Score
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
0 Endorsements
Ranked #37.0K
~689 People Reached
Favorite Forums
Favorite Tags
4 Posted Topics
isnt this the shortest method [code=c]#include<iostream.h> #include<conio.h> void main() { clrscr(); int a,i=0; cout<<"enter a number"; cin>>a; while(a>0) { int b=a%10; a=a/10; i=i+b; } cout<<"sum="<<i; getch(); }[/code]
is this necessary cant v use arrays and for loop sorry if i m rong i m new to c++
Re: windows 7 probs.
a similar problem persists with i8 with windows 7
how to write a program that can accept a date from user and print the day on which it occurs
The End.
biljith