rendered paste body#include <cstdlib>#include <iostream>using namespace std;void checknumber(int number){ if(number>10){ cout << "The number you entered is bigger than 10 !" << endl; }else if(number==10){ cout << "The number you entered is exactly 10 !" << endl; }else{ cout << "The number you entered is smaller than 10.." << endl; }}void checktwice(int twice){ if(twice>10){ cout << "is bigger than 10 !]" << endl; }else if(twice==10){ cout << "equals 10 !]" << endl; }else{ cout << "is also smaller than 10 !]" << endl; }}int main(int argc, char *argv[]){ char number = 0; cout << "Please enter a number: "; cin >> number; do { cin.flush(); cin >> number; if( !isdigit(number) ) { cout << "You didn't enter a number, try again: " << endl; } }while(!isdigit(number)); system("pause"); return EXIT_SUCCESS;}