Can anyone tell me how to take user input in this program? And correct my mistakes too | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Can anyone tell me how to take user input in this program? And correct my mistakes too

https://code.sololearn.com/cxurlRaDpa0D/?ref=app

21st Apr 2021, 10:05 AM
Atul [Inactive]
8 Answers
+ 2
Atul Initialise rad, h and store input value in rad, h https://code.sololearn.com/cKuc4GNvq6CX/?ref=app
21st Apr 2021, 10:20 AM
A͢J
A͢J - avatar
+ 2
Create a class and use getter and setter to set it's radius and height and calculate the surface area and volume of the cylinder Martin Taylor This was the question
21st Apr 2021, 12:27 PM
Atul [Inactive]
21st Apr 2021, 11:10 AM
Atul [Inactive]
0
Martin Taylor I was solving a question there it was told to do so. So I did
21st Apr 2021, 11:00 AM
Atul [Inactive]
0
🅰🅹 (Challenge Accepted) Can't we directly call vol method what is the necessity of calvol method?
21st Apr 2021, 11:05 AM
Atul [Inactive]
0
Atul You can call. No issue.
21st Apr 2021, 11:42 AM
A͢J
A͢J - avatar
0
That is what I did. I think so
21st Apr 2021, 2:43 PM
Atul [Inactive]
0
Can you please explain the print statement deeply as I am unable to get. I think so it is related to C language
21st Apr 2021, 4:14 PM
Atul [Inactive]