Computer Science, asked by rachelyana465, 5 months ago

Question 5.
Using switch case statement write a menu driven program to perform the following:
@ To check and display the whether the number input by user is composite number or not.
(A number is said to be a composite, if it has one or more than one factor excluding 1
and itself. example 4,6,8,9,.......)
ii.) To find and print the difference between largest and smallest digit of an integer that is
input. Sample input : 65872
Sample output: Difference​

Answers

Answered by Anonymous
0

Answer:

example" (and any subsequent words) was ignored because we limit queries to 32 words.

Explanation:

Plz follow me

Similar questions