+ 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

18th May 2017, 8:37 AM
‹Um@›M@hesw@r
‹Um@›M@hesw@r - avatar
7 ответов
+ 3
What is it a solution...
18th May 2017, 8:43 AM
‹Um@›M@hesw@r
‹Um@›M@hesw@r - avatar
+ 3
this program...will be used to calculate the mathematical operations based on switch choice...i defaultly given two values for a & b..statically.
18th May 2017, 9:28 AM
‹Um@›M@hesw@r
‹Um@›M@hesw@r - avatar
+ 3
ok @mario bro ..i tried this my own thats y am asking doubts...and your suggestion to reduce prompts is a good idea
18th May 2017, 9:47 AM
‹Um@›M@hesw@r
‹Um@›M@hesw@r - avatar
+ 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
18th May 2017, 11:33 PM
Katie (Ctrl-Alt-Cuteness)
Katie (Ctrl-Alt-Cuteness) - avatar
+ 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.
18th May 2017, 9:43 AM
Mario L.
Mario L. - avatar
+ 1
The Roof is near
18th May 2017, 8:41 AM
Code Master
Code Master - avatar
+ 1
I will answer if you just tell me what does this program do?
18th May 2017, 8:45 AM
Code Master
Code Master - avatar