evelynnnn8798 evelynnnn8798
  • 19-07-2019
  • Computers and Technology
contestada

Write a pseudocode statement thatassigns the sum of 10 and 14 to the variable total.

Respuesta :

ExieFansler ExieFansler
  • 25-07-2019

Answer:

Declare x,y and total as variables

Set x=10

Set y=14

Set total = x+y

Output Total

Explanation:

In this pseudo code we are declaring 3 variables x to hold the value 10 y for holding the the value 14 and total for holding the sum of x and y. We have assign 10 to x 14 to y and then we are assigning the sum of x and y to the total variable.then we are printing the total. Above written is the pseudo code for the same.

Answer Link

Otras preguntas

how much pure alcohol should be added to a 360 ml of a 30% alcohol solution to raise the concentration to 40%?please help lol
which half reaction correctly describes the reduction that is taking place
To what extent was the Chinese Exclusion Act a turning point in American foreign policy? Explain the rationales behind this action.
what is the definition of a common union?
Divide( x power 4 +81) *(x+3)
how did andrew jackson feel about natie americans?
Which form of virus did Sabin use for the vaccine?
What’s the correct answer
Categorize the following materials: bronze alloy, mouse growing an ear on its back, porcelain dentures
According to the concept of absolutism A) people have absolute power in government. B) there is no absolute authority in society. C) people have the right to