0

# write a menu driven program to Calculate the following volume of sphere, volume if cylinder and volume of cone

Scanner class

12 Answers

+ 1

area of sphere:
4*pi*r*r
cylinder:
2*pi*r*h + 2*pi*r*r
cone:
pi*r*s + pi*r*r
where:
r = radius
h = heigth
s = slant heigth

0

Plzz help I'm having my test

0

All are done but this question is disturbing me allot

0

Bhai pura program bhejdo

0

give me a second

0

Because i have write it on a sheet

0

wdym by menu driven tho?

0

Thank you
But mereko scanner class chaye tha

0

Listen

0

Write a java program to enter bill amount and ask the user the payment mode and give the discount based on payment mode. Also display net payable amount.
Mode | Discount
Credit card | 10% of bill amount
Debit card | 5% of bill amount
Net banking | 2% of bill amount
Otherwise | 0% of bill amoun

0

Techno Team share your attempt here..