Create while-end repetition structure includes a nested if

Assignment Help Programming Languages
Reference no: EM13762900

Create your own While-End (or For-End) repetition structure that includes a nested if-then selection structure. You decide the theme. You should provide both the pseudocode and the flowchart of your example. Be sure to provide an overview of what your repetition structure is doing. Provide a walk-through of your code and the values at each iteration of the loop.
Repetition Statements

In this homework, you will design a program to perform the following task:

Write a program that would allow a user to enter student names and Final grades (e.g. A,B,C,D,F) from their courses. You do not know how many students need to be entered. You also do not know how many courses each of the students completed. Design your program to calculate the Grade Point Average (GPA) for each student based on each of their final grades. The program should output the Student name along with the GPA.

There are 5 components of your submission including:

Program Description- A detailed, clear description of the program you are building.

Analysis- Demonstrates your thought process and steps used to analyze the problem. Be sure to include the required input and output and how you will obtain the required output from the given input? Also, include your variable names and definitions. Be sure to describe the necessary formulas and sample calculations that might be needed. Talk about how your design will allow any number of students and final grades to be possible inputs.

Test plan - Prepare at least 1 set of input data (Test data) along with their expected output for testing your program. This test case should include at least 10 students. Your test data can be presented in the form of a table as follows (note: feel free to adapt to your design)

Flowchart - Provide a flowchart for your design. You can use Word, Powerpoint, Visio or any software you have available that will allow to draw shapes and connectors.

Pseudocode- Provide pseudocode of your overall design that fulfills the requirements of the project

All of these components should be placed in word document for submission.

Additional details about the program you need to write:

GPA is calculated by summing the point equivalents for final grades and taking the average. A =4, B=3, C=2, D=1, and F = 0. So, if someone earned 2 A's and 1 B, their GPA would be (4 + 4 + 3)/3 = 3.67

Think about using a simple process to stop entering students and course grades. For example, if StudentName < 0.

Test Case #

Input

Expected Output

1

Sally: A,D,B,C

John: A,A,A,B,B

Jason: A,A,A,A,B

Bob: B,B

Bill: A

...

GPA for Sally is : 2.5

GPA for John is: 3.6

GPA for Jason is: 3.8

GPA for Bob is: 3.0

GPA for Bill is: 4.0

...

Reference no: EM13762900

Questions Cloud

The role of community and public health nurse : How do these skills differ from those required in the institutional setting?
True sampling error : The true sampling error is usually not known because
Create a c++ project using appropriate data types : Create a C++ project. Declare the following identifiers using appropriate data types.
Study of the human muscles : 1. The study of the human muscles.
Create while-end repetition structure includes a nested if : Create your own While-End (or For-End) repetition structure that includes a nested if-then selection structure. You decide the theme. You should provide both the pseudocode and the flowchart of your example.
Underestimate the value of output : GDP measures underestimate the value of output produced by an economy because they include services not transferred through markets? T or F
Issues based on agricultural industary : The discharge rate of the wastewater to maintain at least 5 mg/L critical DO concentration in the river
Advanced information technology of u : Assess the relationship of systems analysis, design, implementation, and development processes as they relate to the management of information technology systems
Profitability of the zenith and pinnacle models : Using activity-based costing (ABC), calculate the profitability of the Zenith and Pinnacle models.

Reviews

Write a Review

Programming Languages Questions & Answers

  Program to calculate monthly gross pay for super supermarket

Owners of Super Supermarket would like to have program which calculates monthly gross pay of their employees. Input for this program is employee ID number, hourly rate of pay.

  Write program to compute total payment

Write a program that computes the total payment, tip, and tax for the "ABC" restaurant. This program must have three functions as below: Menu (Show the menu for each customer). Menu include 6 options.

  Design application to calculate and show price of order

Design the application to calculate and show the price of order, based on number of units ordered and the customer's status (either wholesaler or retailer).

  Determine the hidden cost if a recursive algorithm is

question 1 explain which one you should choose memoized-cut-rod or cut-rod. defend your decision by explaining the

  Compare the points by y major order

Compare the Points by y major order, that is, points with similar y-coordinate values should come before those with higher y coordinate values. Break ties by comparing x-coordinate values.

  Write a program that prompts for and reads an amount

Write a program that prompts for and reads an amount (integer) for Canadian dollars and convert the amount to Euros. The exchange rate is 1.

  Write class to represent temperatures in degree-fahrenheit

Write Temperature class to represent temperatures in degrees in Celsius, Fahrenheit and Kelvin. Use floating-point number for temperature and a character (type char) for scale.

  Write code for invoking method named sendtwo

Write the code for invoking a method named sendTwo. There are two arguments for this method: a double and an int.

  Create application to enter five-digit credit card number

Create an application that allows the user to enter a five-digit credit card number; assume that the fifth digit is the check digit.

  Write program to calculate distance and time hurricane take

Write C++ program that will calculate the distance and time it will take (days/hours) for hurricane to reach Ft. Lauderdale if: Hurricane is at coordinates 16 N, 64 W, just SE of South Fla. off in Atlantic, with a speed of 20 mph.

  Write program that compute the amount person earn

Write a program which computes the amount a person would earn over period of time if his or her salary is one penny the first day, two pennies second day.

  Design and implement a class contains instance data

Design and implement a class called sphere that contains instance data that represents the sphere's diameter. Define the Sphere constructor to accept and initialize the diameter.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd