Comment

Angela Royal

August 25, 2010 at 8:26 PM

If you could, I am so lost on a java assignment for school that I have to do, can you offer assistance on creating the code for the below assignment:

A teacher at a local elementary school has asked your company to create a program to perform a computation using a number input by the user. The user may choose to square, cube, double, or halve the number. The result should be output to the screen. After the result is displayed, the program should prompt the user to enter another number and select another computation or exit the program. Remember: The square of a number is the number multiplied by itself (2 squared is 2 * 2). The cube of a number is the number multiplied by itself 3 times (3 cubed is 3 * 3 * 3). Double the number is the number multiplied by 2. Half the number is the number divided by 2. Your solution must include case logic and looping logic. Your solution must include 5 parts in addition to the coded solution

View All Comments | View Tutorial

A teacher at a local elementary school has asked your company to create a program to perform a computation using a number input by the user. The user may choose to square, cube, double, or halve the number. The result should be output to the screen. After the result is displayed, the program should prompt the user to enter another number and select another computation or exit the program. Remember: The square of a number is the number multiplied by itself (2 squared is 2 * 2). The cube of a number is the number multiplied by itself 3 times (3 cubed is 3 * 3 * 3). Double the number is the number multiplied by 2. Half the number is the number divided by 2. Your solution must include case logic and looping logic. Your solution must include 5 parts in addition to the coded solution

View All Comments | View Tutorial

Related Tutorial and Articles

Advertisements
Advertisements

- How to download JDK 1.6?
- Encapsulation in Java Programming
- Pagination in struts 2
- uitextfield hide keyboard on return
- Help
- java code
- magento
- dismissmodalviewcontrolleranimated first deprecated in ios 6.0
- write a program that Implement an integrated COM client server to add two numbers.by visuall studio 2010
- xcode 6.1.1 download