Print all the output...toh check the program | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Print all the output...toh check the program

Watch my setup program...and give me the solution of my question https://code.sololearn.com/cZb8QkpfHHZS/?ref=app

7th Mar 2021, 6:07 AM
Prashu Gupta
Prashu Gupta - avatar
10 Answers
7th Mar 2021, 6:33 AM
A͢J
A͢J - avatar
+ 1
Hi we are not playing any riddles here. Please ask your question here itself. For guidelines: https://www.sololearn.com/discuss/1316935/?ref=app
7th Mar 2021, 6:14 AM
Sharique Khan
Sharique Khan - avatar
+ 1
you put only one number then you can see only one output because the number can be even or odd not both. Use only if and else I would prefer and check if it is even or not
7th Mar 2021, 6:32 AM
Sharique Khan
Sharique Khan - avatar
0
Print all the output of my setup program...one by one
7th Mar 2021, 6:16 AM
Prashu Gupta
Prashu Gupta - avatar
0
I assume this is your setup program. Please add this link in your question and remove other codes link if they are of no use. https://code.sololearn.com/cZb8QkpfHHZS/?ref=app
7th Mar 2021, 6:18 AM
Sharique Khan
Sharique Khan - avatar
0
You have used switch case for numbers 1 2 3 and for rest other default. In that case you will get only one output based on the input you give. This is your code explaination. Regardless, you want to show all the output?you mean to say all the switch cases output?
7th Mar 2021, 6:20 AM
Sharique Khan
Sharique Khan - avatar
0
Yes I want all the output...like even then odd...I want to see my all output one by one
7th Mar 2021, 6:22 AM
Prashu Gupta
Prashu Gupta - avatar
0
Hii Aj..my question is on my profile...the program name is setup.... and plz check the all possible output one by one
7th Mar 2021, 6:25 AM
Prashu Gupta
Prashu Gupta - avatar
0
I can't understand
7th Mar 2021, 6:26 AM
Prashu Gupta
Prashu Gupta - avatar
0
Thanks all of few for helping me
7th Mar 2021, 6:34 AM
Prashu Gupta
Prashu Gupta - avatar