Computer Science, asked by archipagare6, 5 months ago

write the algorithm to classify no. as single digit duble digit or big digit also chek your algorithm for the input

Answers

Answered by varshini2567
1

Explanation:

Given a non-negative number n. The problem is to check whether the given number n can be expressed as a product of single digit numbers or not.

Examples:

Input : n = 24

Output : Yes

Different combinations are:

(8*3) and (6*4)

Input : 68

Output : No

To represent 68 as product of

number, 17 must be included which

is a two digit number.

Similar questions