+ 3
Can anyone tell me how to take user input in this program? And correct my mistakes too
8 odpowiedzi
+ 2
Atul
Initialise rad, h and store input value in rad, h
https://code.sololearn.com/cKuc4GNvq6CX/?ref=app
+ 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
+ 1
0
Martin Taylor I was solving a question there it was told to do so. So I did
0
🅰🅹 (Challenge Accepted) Can't we directly call vol method what is the necessity of calvol method?
0
Atul
You can call. No issue.
0
That is what I did. I think so
0
Can you please explain the print statement deeply as I am unable to get. I think so it is related to C language