Question: The input-process-output model facilitates programming. Often, this is shown through pseudo-code. Pseudo-code shows a model for the program. Then, that model is translated into the

The input-process-output model facilitates programming. Often, this is shown through pseudo-code. Pseudo-code shows a model for the program. Then, that model is translated into the specific programming language syntax. In Benchmark 2, the weekly pay program could be shown with the following pseudo-code:

Purpose: The purpose of this program is to calculate the weekly pay for an hourly employee.

Input:

empName as String (the employees name) empID as String (the employees ID number) empDept as String (the department the employee works for) hourlyRate as Decimal (how much the employee is paid per hour) hours as Integer and minutes as Integer (how much time the employee worked) totalPay as Decimal (how much the employee is paid)

Process 1:

uses rate and time to calculate total pay totalPay = hourlyRate*(hours+minutes/60)

Process 2:

rounds the totalPay to two decimal places

Output to Message Box:

The total pay for () in the department is . This is based on an hourly pay of and working for :.

Consider another data calculation that might be needed in a common information system. Potential examples include calculating tax and tip for a restaurant bill or finding miles per gallon for an automobile. You can utilize one of these or another of your choosing. Using the same format as shown in the above examples, describe the overall purpose of the program and then outline the inputs, processes, and outputs. Be sure that you utilize the input-process-output model, specify each data type, give the equations for calculations, and give the full output string.

Create your program including a user interface in Visual Studio utilizing Visual Basic. Ensure there are no errors present and test it using Debug to be sure it works as expected. Give screenshots showing your interface and briefly describe these screenshots. Also, copy the Visual Basic code. Be sure that this is separate from your input-process-output model pseudo-code from the first portion of the Assignment. Also, zip the full project folder for submission.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!