0
Why can't I get a user to be able to input 1 or 2 to select which function to use via class and object?
when you select either 1 or 2, it doesn't prompt you to input another number (the radius) to find the area or perimeter or a circle. it just spit out a number for you. Am I missing some code somewhere. keep in mind I'm still learning via solo learn, a c++ app and some YouTube. only at this for a couple weeks now. https://code.sololearn.com/cNcZ3vCg3f2x/?ref=app
2 Respuestas
+ 1
SoloLearn playground limitations. This code works fine on a normal computer. SoloLearn's playground can only execute non-web codes in batch mode — you give it all the inputs, it gives you all the outputs. No interactive behaviour is possible here.
0
So my code was right?! heck yes!