I figured it out!
#include <iostream>
#include <string>
using namespace std;
string tens(int number);
string singles(int number);
string bigger_tens(int number);
Type: Posts; User: LordAbolition
I figured it out!
#include <iostream>
#include <string>
using namespace std;
string tens(int number);
string singles(int number);
string bigger_tens(int number);
Alright this is honestly the best I can do. It keeps crashing at the end and I don't know why.
#include <iostream>
#include <string>
using namespace std;
string tens(int number);
string...
You were right it was the spaces, I just had to reposition it more. It's odd that it does that but anyway back to work.
stray '/240' in program error
#include <iostream>
#include <string>
using namespace std;
string tens(int number);
int main()
{
cout << "Please type your number you wish to convert: ";
int number;
cin >>...
#include <iostream>
#include <string>
using namespace std;
string tens(int number);
int main()
{
cout << tens(3);
How to actually break down the 3 digit chunks because I haven't learned arrays yet (unless it doesn't require arrays).
Yeah because it's restricted. I'm thinking of if you type any number at all it will translate it to you in English. But you have a point I guess I should just try. Thank you for the response.
Hi everyone, I'm new to this forum. I've been reading Jumping Into C++ and I love the book so far. My problem is that is directly jumps into hard mode with these practice problems. I have no idea...