0
Answer
Write a program that takes input 1, 2, 3 and 0 if you enter 1 then it will ask to enter any number to find its factorial using user-defined function. If you enter 2 then it will ask user to enter any number to print even digits of a number using user-defined function. if you enter 3 then it asks user to enter a number to find whether it is a prime or not using user defined function. To stop this program you should give input as 0, otherwise program should keep running. If you enter other input values. It must display "enter valid input and try again"
5 Respuestas
+ 3
where is your code/attempt !
+ 2
You can get help much faster if you tag the relevant programming language and share your code attempt with us so we can check on it
+ 2
Pls edit your question description with a link to your code in Code Playground. Use "+" button to add the link.
If you have difficulties, explain them in the question description too.
+ 2
Hi Aswini Talari Please provide your attempt. We would like to help you.
However,
Coding assignments posted without proof of any attempts to solve the problem may be considered an incomplete question. Such post violate the guidelines and may be subjected to deletion.
Content Creation and Community Guidelines
https://www.sololearn.com/Discuss/3021159/?ref=app
https://code.sololearn.com/W1AxdV4e2H68/?ref=app
0
Thanks all of u today my teacher explained