If-Else and Loops:if (digitstr[n] == '0') countZero += 1; else if (digitstr[n] == '1') countOne += 1; else i...
If-Else and Loops:its printing, but i keep getting numbers that is not in the input and its not counting the numbers i...
If-Else and Loops:I did some by myself this is what I have so far string digitstr = ""; cout << "Enter an integer: ";...
If-Else and Loops:Would this work? string digitstr = ""; cout << "Enter an integer: " << endl; cin >> digitstr; for...
If-Else and Loops:Could I make all of the numbers to zero like how I have like this? [code] long int lZero= 0;...