The program I’m creating is going to be utilized to determine the total cost to build a gaming computer using a base model and upgrading 3 key parts.
Analysis:
Input:
The input of this program will consist of the base price (BasePrice), the graphics card choice (GraphicsCardChoice), the monitor choice (MonitorChoice), and the hard drive choice (HardDriveChoice). After the user has made all of the required choices, the program will determine the appropriate cost of that option: GraphicsCardCost, MonitorCost, and HardDriveCost.
Output:
The required output for the program will be the total cost (TotalCost) of the state of the art gaming computer. The program will then determine the total cost of the state of the art gaming computer by using the following computation: TotalCost = BasePrice+Cost+MonitorCost+CaseCost.
Using the Hierarchical Design, I am creating a flow chart or blueprint of how basically this program will work:
In this program, I will be using various variables with different definitions. The table below will list and identify the variables:
VARIABLES
DEFINITION
BasePrice
The cost of the computer prior to the user deciding on the three options.
GraphicsCardChoice
The Graphics Card selected by the user.
ASUS
ASUS GEFORCE GTX 760 4GB GDDR5
EVGA
EVGA GEFORCE GTX 770 2GB GDDR5
NVIDIA
NVIDIA GEFORCE GTX 760 2GB GDDR5
MonitorChoice
The Monitor selected by the user.
ASUS
ASUS 31” ULTRA HI-DEF MONITOR
LG
LG 29” ULTRA WIDE IPS MONITOR
BENQ
BENQ 24” LED GAMING MONITOR
HardDriveChoice
The Hard Drive selected by the user.
AXIOM
AXIOM 3TB 3.5” INTERNAL HD
SEAGATE
SEAGATE 6TB ENTERPRISE HD
WD
WD 4TB 3.5” INTERNAL HD
GraphicsCardCost
The Cost of the selected Graphics Card.
MonitorCost
The Cost of the selected Monitor. HardDriveCost
The Cost of the selected Hard Drive.
TotalCost
The Total Cost of the Gaming System.
Analysis (CONT):
I