progamming JAVA

posted by .

1.Write an algorithm, in English, to solve the following problem. Be sure to include pre- and post-conditions!

2.Problem: Solve X mod Y for all positive integers. Do so without using multiplication or division.

3.What is (7 / 3) + (4 % 5)?

Respond to this Question

First Name
School Subject
Your Answer

Similar Questions

  1. computers

    Write an algorithm, in English, to solve the following problem. Be sure to include pre- and post-conditions!
  2. math/computers

    Problem: Solve X mod Y for all positive integers. Do so without using multiplication or division.
  3. college math

    I do not understand a problem from a text book or how to solve the problem for the answer. Could shomeone show me the steps (show work) on how to solve this question. The sum of the intergers from 1 through n is n(n+1)/2. the sum of …
  4. 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 ?
  5. Pre calculus

    How do I solve this exponent problem? I understand the exponent rules, but I getting 1 but 1 is not the answer! I don't want anyone to solve the problem for me, I want to learn how to solve this type of problem. Thank you! Solve the
  6. English

    1. He can not solve the math problem. 2. He cannot solve the math problem. 3. He can't solve the math problem. 4. He could not solve the math problem. 5. He couldnot solve the math problem. 6. He couldn't solve the math problem. (Are …
  7. 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?
  8. Math

    If 360 workers called in sick and 240 went to work, how many workers work at the company all together?
  9. Programming

    3.Do the planning and write algorithm to solve for following problem. There are 15 pupils in the Introduction to Programming I module. The age of every student is entered in years and months. Convert the age into months to calculate …
  10. Need all the help i can get

    Hi i'm pretty new to this and i don't know what to do?

More Similar Questions