+ 4
Friends how to accept the a & b values dynamically..?
Here am only using a & b values defaultly..but how to do them in dynamically. https://code.sololearn.com/Wd20H9l90loJ/?ref=app
7 Réponses
+ 3
What is it a solution...
+ 3
this program...will be used to calculate the mathematical operations based on switch choice...i defaultly given two values for a & b..statically.
+ 3
ok @mario bro
..i tried this my own thats y am asking doubts...and your suggestion to reduce prompts is a good idea
+ 3
I doubt my code is helpful as I overdone it... and I hope that when it is not "Public" that it is still accessible:
https://code.sololearn.com/W9Bzxu2wXWAC/?ref=app
+ 2
Huh? did you copy that code somewhere? because if you wrote it on your own, you'd know that you could assign a and b dynamically the same way you ask for the mathematical operation.
would be much better if you used a form for the input and operation choice (no one likes to be prompted several times). a little explanation what the options are would be nice too.
+ 1
The Roof is near
+ 1
I will answer if you just tell me what does this program do?