Write a program which asks the user to enter a number and determine whether the number entered is prime or not and also determine whether the number input by user was integer or float.
please help me solve this program i can't solve it using switch statements and i can't use loops right now so please help me solve this program using only switch statements
the thing is that its an assignment i have in which we r only to use switch statements only nothing else i've tried everything but i cannot understand it and can't get the program to work so please help out in solving the question with switch statements thanks