Make sure that you have a main procedure


Problem

Objective: Only attempt this assignment after thoroughly reading Chapter 9 of the Visual Basic text. The objective of the assignment is to translate a modularized pseudocode solution to a Visual Basic solution that uses multiple procedures. Another objective is to work through any syntax errors encountered (debugging) to develop a correct solution that is free of errors.

Description: Recall that last week you created a pseudocode solution that prompted the user for two numbers, multiplied them together, and displayed the two numbers as well as the product for the user in the format of 2 * 3 = 6 where 2 and 3 represent sample user values and 6 represents the calculated result. Note that two separate methods were used in addition to the main program logic - one that computed the product and one that displayed all three numbers. Both of these methods were called from main. Using your solution from last week, translate this pseudocode into a working Visual Basic solution with multiple procedures. Recall that a procedure in Visual Basic refers to a block of Visual Basic code that performs a task. The procedure that calculates the product is a Function procedure because it returns a result. The procedure that displays the values of all 3 numbers is a Sub procedure because it does not return a result. It is required to Option Strict to On for this assignment.

Task: Make sure that you have a Main procedure, a ComputeProduct procedure, and a DisplayResult procedure (you may name the procedures differently as long as they are similar). Ensure that Main calls ComputeProduct and DisplayResult. Ensure that output is in the desired format and that the program compiles (builds) successfully and without any errors.

Request for Solution File

Ask an Expert for Answer!!
Computer Network Security: Make sure that you have a main procedure
Reference No:- TGS03284444

Expected delivery within 24 Hours