programming

posted by .

write a java application to calculate the exponent value of a number using the following specification
<Prompt the user to enter an integer value
<Pass the integer value to the method squares the number and to a method cubes the number.The result must be returned to the main method.
The main method must print the results along with a suitable message.

  • programming -

    We would better help you if you could specify the help you need is with syntax or logic.

    The best route is to post what you already have written if you have already started (pseudocode or code).

    If you have not yet started, you need to tell us what you have learned so far. There are many ways to write the same program using different tools.

Respond to this Question

First Name
School Subject
Your Answer

Similar Questions

  1. programming

    I am supposed to modify this program so it begins by asking the user for the number of values. The program then uses a loop to read the specified number of values and then display their average. program is below that i worked on in …
  2. programming MIPS ask

    Write a MIPS assembly language program that will cover the following steps: Prompt the user to enter a first integer named i1 Prompt the user to enter a second integer named i2 Compute i1+i2-200 Print the value of the result Repeat …
  3. programming

    I need to figure this problem out, I am using visual studio C#. • Powers - Write an application that displays a tables of squares and cubes of an integer from 1 to an upper limit. The user should enter the upper limit and press the …
  4. C programming

    Build a program that allows a user to select one of the following four menu options: enter new integer value, print pointer address, print integer address, and print integer value. For this program you will need to create two variables: …
  5. programming

    Pseudocode - Create the logic for a program that continuously prompts a user for a numeric value until the user enters 0. The application passes the value in turn to a method that squares the number and to a method that cubes the number. …
  6. programming

    Create the logic for a program that continuously prompts a user for a numeric value until the user enters 0. The application passes the value in turn to a method that squares the number and to a method that cubes the number. The program …
  7. programming pseudocode

    Create the logic for a program that continuously prompts a user for a numeric value until the user enters 0. The application passes the value in turn to a method that squares the number and to a method that cubes the number. The program …
  8. IT

    Make a C program that accepts an integer value at the main method from the keyboard and in turn passes the value to a function that squares the number( multiplies is by itself) and to another function that cubes the number ( multiplies …
  9. PROGRAMMING

    Make a C program that accepts an integer value at the main method from the keyboard and in turn passes the value to a function that squares the number( multiplies is by itself) and to another function that cubes the number ( multiplies …
  10. computer programing

    : Build a program that allows a user to select one of the following four menu options: enter new integer value, print pointer address, print integer address, and print integer value. For this program you will need to create two variables: …

More Similar Questions