I need you to develop some software for me. I would like this software to be developed for Windows using C++. / Save as "[login to view URL]"
// Plan/algorithms are needed for each of the subprograms shown below.
// You will also need to determine how to, from the subprogram data, calculate the overall average.
#include <iostream>
using namespace std;
// Compile & see what happens on these lines - note the default
// Fix the code
const float hmwkpercent = 0.125;
const float labpercent = 0.125;
const float exampercent = 0.75;
int main()
{
system("cls");
// get name
// Sub-program 1:
// Homework assignments - Calculate weighted average for assignments worth various pts. Ask the user how many assignments there are.
// Ask user for points made and possible points
// Use a loop with an accumulator variable to sum the points.
// Sub-program 2:
// Labs - Calculate weighted average for labs worth various pts.
// Ask the user how many assignments there are.
// Ask user for points made and possible points
// Use a loop with an accumulator variable to sum the points.
// Sub-program 3:
// Exams - Calculate average for exams worth 100 points each.
// Ask the user how many exams there are.
// Use a loop with an accumulator variable to sum the points.
// calculate overall average
// Print the users name
// Place print statements to show, using 2 columns, each of your averages:
// Homework average; lab average; exam average; overall average.
// The averages should each show 1 decimal.
// The labels should be left aligned and the averages to the right, lined up by the decimal
// The name and 4 averages should be on separate lines neatly separated from the inputs above
return 0;
}