0% found this document useful (0 votes)
25 views1 page

Add Two Numbers Pseudocode Guide

This pseudocode algorithm declares variables to store two numbers entered by the user and their sum, prompts the user to enter the first and second numbers, stores the user input in the respective variables, calculates the sum by adding the two numbers, and outputs the final sum.

Uploaded by

Ian Bagunas
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views1 page

Add Two Numbers Pseudocode Guide

This pseudocode algorithm declares variables to store two numbers entered by the user and their sum, prompts the user to enter the first and second numbers, stores the user input in the respective variables, calculates the sum by adding the two numbers, and outputs the final sum.

Uploaded by

Ian Bagunas
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Add Two Numbers Program

Pseudocode Algorithm

Declare Number1, Number2, Sum As Variables

When the flag is clicked

Initialize all variables to 0

Output: Enter the first number

Set Number1 = user answer

Ask user: Enter the second number:

Set Number2 = user answer

Set Sum = Number1 + Number2

Output: The sum is:

Output: Sum

You might also like