Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
0 Endorsements
Ranked #37.0K
~7K People Reached
Favorite Forums
Favorite Tags
c++ x 3
c x 2

2 Posted Topics

Member Avatar for DemonLady

Another method using string [CODE]#include <iostream> #include <string> using namespace std; void main() { int index = 0; string number; cout<<"Please enter an integer."<<endl; cin>>number; for (index; ;index++) // Counting the integer { string a (number ,index,1); if(a =="") { index--; break; } } cout<<"Number: "; for (index ; index …

Member Avatar for Ajini
0
3K
Member Avatar for ShadowOfBlood

Here is my code :):)[CODE]#include <iostream> #include <cmath> using namespace std; void main() { int number , num ; double count; cout<<"Please enter an integer."<<endl; cin>>number; if(number < 0) // Convert negative integers to positive integers number = -number; num = number; if(number < 10) //Case1: Integers less than 10 …

Member Avatar for 1stDAN
0
4K

The End.