1. Augment the previous project by allowing optional scoops of ice cream on top of the cone in addition to all the ice cream in the cone itself. Assume that each scoop is perfectly spherical. The volume of a sphere of radius r is 4π r3 / 3.
2. Write a Java program that encodes a string supplied by the user. Replace all letters a with @, all letters e with #, all letters i with !, all letters o with &, and all letters u with %. Demonstrate that the string “It is a beautiful day in the neighborhood.” is encoded as “!t !s @ b#@%t!f%l d@y !n th# n#!ghb&rh&&d.”
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here