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

Explain why mitosis alone does not produce daughter cells
What is the estimate for 9.7 x 3.3?
The son of a professional basketball player is a star player on his high school basketball team. Which statement best describes the son’s ability? The environme
Which area did the Hebrews escape from in the Exodus? A. Mesopotamia B. Syrian Desert C. Egypt
how many words you make using the letters in "One Hundred Days
what is 9/10 of £90.00
The average of a set of 5 numbers is 7. If you add 1 to the set of numbers, what is the new average?
ex 2.8 3. find the maximum value of y for the curve y=x^5 -3 for -2≤x≤1
Solve this Equation 10x+2=32
Which statement best describes why the Indus River Valley civilization declined? A. Some theories are that the soil grew salty, disease killed many people, and