Question: 2. PRACTICAL ASSIGNMENT 2 2.1 Covert the following design into C++. Refer to figure 1 for sample output. Save your source file as runProgram1.cpp. Indude

2. PRACTICAL ASSIGNMENT 2 2.1 Covert the following design into C++. Refer to figure 1 for sample output. Save your source file as runProgram1.cpp. Indude your student number, suname and initials and group at the beginning of the source files as comments. Submit anly the C++ source file. DoBlectricityCalcalations custMom 99999 display Enter the leotricity usage in kilowatt-hours Call the anntoving Calohntowing (usage) Cali the aub procedure display EnteE the oustoner nusbeE 199999 to end display The total uaage for li customers istotalosage if valusage200 then anntovingval0sage 2.70 DS017AT anntouing 2002.70valUsage-200) 1.60 return anntowing nter the electricity usage in kilowatt-hours: 75.18
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
