Ask Question

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

+1
Answers (1)
  1. 16 May, 00:11
    0
    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.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Write a pseudocode statement thatassigns the sum of 10 and 14 to the variable total. ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers