151k views
17 votes
Represent the logic of a program that allows the user to enter two values. The program outputs the product of the two values.

User Ivanz
by
4.9k points

1 Answer

5 votes
1. Prompt the user to enter value 1
2. Store value 1 in variable 1
3 Prompt the user to enter value 2
4 Store value 2 in variable 2
5 Create a variable that takes variable 1 and multiply it with variable two, product.
6. Output the value of variable product.
User Haris Ur Rehman
by
5.0k points