Ask Question
11 May, 22:25

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

+4
Answers (1)
  1. 11 May, 22:50
    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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers