Program Design

You require an algorithm that will receive an integer from the screen, add 5 to it, double it, subtract 7 from it, and display the final number on the screen.

Need help with the input, output, and processing. Also with the solution algorithym.

  1. 👍 0
  2. 👎 0
  3. 👁 38
asked by Kemp

Respond to this Question

First Name

Your Response

Similar Questions

  1. computers

    I require an algorithm that will receive two integer items from a terminal operator, and display to the screen their sum, difference, product and quotient How to do that?

    asked by sunita on September 20, 2010
  2. Quantum Physics

    In this problem, we will carry out some steps of the quantum factoring algorithm for N = 15 (a) What is the period k of the periodic superposition set up by the quantum factoring algorithm if it chooses x = 2 ? (b) Assume that we

    asked by Gyanno on March 21, 2013
  3. physics

    n this problem, we will carry out some steps of the quantum factoring algorithm for N=15. (a) What is the period k of the periodic superposition set up by the quantum factoring algorithm if it chooses x=2? (b) Assume that we found

    asked by s on March 22, 2013
  4. Quantum Computing

    In this problem, we will carry out some steps of the quantum factoring algorithm for N=21. (a) What is the period k of the periodic superposition set up by the quantum factoring algorithm if it chooses x=2? In other words, what is

    asked by imath on September 22, 2013
  5. Quantum Physics

    We will carry out some steps of the quantum factoring algorithm for N=91 (a) What is the period k of the periodic superposition set up by the quantum factoring algorithm if it chooses x=8? I.e. what is the period of f(j)=8j(mod91)

    asked by ss01 on October 12, 2013
  6. physics

    In this problem, we will carry out some steps of the quantum factoring algorithm for N=91. (a) What is the period k of the periodic superposition set up by the quantum factoring algorithm if it chooses x=8? I.e. what is the period

    asked by manu on October 13, 2013
  7. maths prove help asap

    plz help 1.for any 2 non-zero integers x and y there exist a unique integer q and r called the quotient and remainder respectively such that x=yq+r where

    asked by mat on March 6, 2018
  8. Programming 1

    1.Do the planning and write an algorithm to solve the following problem. Prepare test data for the example to test all possibilities and draw a trace table. Sam works at a coffee company where all the employees receive a bonus of

    asked by George on April 1, 2015
  9. computer programming

    Do the planning and write an algorithm to solve the following problem. Prepare test data for the example to test all possibilities and draw a trace table. Sam works at a coffee company where all the employees receive a bonus of

    asked by theblues on September 7, 2015
  10. Unisa

    1.Do the planning and write an algorithm to solve the following problem. Prepare test data for the example to test all possibilities and draw a trace table. Sam works at a coffee company where all the employees receive a bonus of

    asked by Mako on April 2, 2015

More Similar Questions