1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
marissa [1.9K]
3 years ago
13

Write algorithm to calculate sum and difference of any two numbers​

Mathematics
2 answers:
bazaltina [42]3 years ago
6 0

Answer:

(step 1 and 2 help clarify the rest of the steps)

first Declare 2 variables →a ,b.

input 2 variables a and b.

print sum=a+b.

print difference = a-b.

print product =a×b.

Step-by-step explanation:

Hope this helps a little :)

STatiana [176]3 years ago
3 0

BEGIN

DECLARE VARIABLES X, Y

 INPUT VARIABLES X, Y

  READ X, Y

    PRINT SUM = X+Y

    PRINT DIFFERENCE = X-Y

END

 

You might be interested in
Your friend evaluated an expression using k = 0.5 and p =1/6 and got an answer of 12. Which expression did your friend evaluate?
Tom [10]
I think may be 8p +5k . If I’m wrong,... sorry
5 0
3 years ago
8.5cm squared = ...mm squared?<br><br> Please explain clearly
tekilochka [14]
1 centimeter = 10 milimeters.
Therefore, 8.5 centimeters squared = 85 millimeters squared.
6 0
4 years ago
Which point represents 2 1/4 on the graph
svlad2 [7]

Answer:

hope this helps

Step-by-step explanation:

8 0
3 years ago
Read 2 more answers
Meredith works at a blood bank. She needs to write a report of the ratio of type-A blood donated to type-O blood donated, but sh
kari74 [83]

Answer:

uh,

Step-by-step explanation:

42-55=7   7+25=32

32:55

i am sorry if this doesn't help!~

6 0
2 years ago
The answers to this question cousin
podryga [215]
If R is between Q and S then QR+RS=QS

given
QR=x+4
RS=3x-1
and QS=27

x+4+3x-1=27
combine like terms
4x+3=27
minus 3 both sides
4x=24
divide both sides by 4
x=6

sub back
QR=x+4
QR=6+4
QR=10

RS=3x-1
RS=3(6)-1
RS=18-1
RS=17

x=6
QR=10
RS=17
3 0
3 years ago
Other questions:
  • (8th grade question.) 40 points.<br><br><br> Write all names that apply to each number.
    13·2 answers
  • How many 3tsp does are in 500mL
    9·2 answers
  • The investor owns __ of stock A<br><br><br> The investor owns __ of stock <br> B
    13·1 answer
  • Help please with this problem
    11·1 answer
  • A student made a mistake when measuring the volume of a big container. He found the volume to be 75 liters.However, the real val
    15·1 answer
  • Alice purchased a cell phone for 30% ff the original price. The sales price was $84 . What was the original price of the cell
    9·1 answer
  • Five members of the Varsity Math team are running late for a big
    15·1 answer
  • This we havent learned but teacher gave us for end of year est plz help
    6·1 answer
  • Introductory Algebra: 20% converted into a decimal, wouldn't that be 0.2?
    5·2 answers
  • If the radius of a circle is doubled, how does the area of the circle change?
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!