I need help!
I need to make the following program:
First when I print the numbers (example 5280474088) the program should extract all the numbers from the string to the first 0 (in this case it is 528). and if it were further 88). The separated numbers 528 should be converted into one number, if you would like to divide this number 528 by the number 44 so that I can get 12. The same applies to other numbers.
You want us to write the code for you for free, and you will take the credit for it.
It will cost you:
1 2 3 4 5 6 7 8 9 10 11 12 13 14
#include <iostream>
#include <cctype>
#include <limits>
int main()
{
std::cout << "Do you want someone to do all the work for you? ";
char answer{};
std::cin >> answer;
std::cin.ignore(std::numeric_limits<std::streamsize>::max(), '\n');
if (std::toupper(answer) == 'Y' ) { std::cout << "Post it in the Jobs section.\n"; }
}