Computer Science, asked by neharikacgowda07, 3 months ago

write a C++ program to check the given number is double digit or not​

Answers

Answered by pramodnagarcuraj17
2

Explanation:

include<iostream>

using namespace std;

void specialNumber(int n)

{

if (n < 10 || n > 99)

cout << "Invalid Input Number" << " should have 2 digits only";

}

int main()

{

int n = 59;

specialNumber(n);

return 0;

}

Similar questions