A program to check whether a number given by the user is a two digit or a three digit number.(Use a ternary operator)
Answers
Answered by
2
Answer:
Get input number from user using input()
check whether the number is greater than 99 and less than 100 using if statement
it is true, then print number is three digit number using print()
Else print num is not three digit number using print() method.
Similar questions
India Languages,
24 days ago
Math,
1 month ago
English,
1 month ago
Social Sciences,
9 months ago
Social Sciences,
9 months ago
Science,
9 months ago