Calculate the score percentage

Assignment Help C/C++ Programming
Reference no: EM13926115

Scenario

You have been asked to design a program that will allow a teacher to calculate the percentage and the final grade for students in a class. The program will prompt the teacher to enter the student's first and last name and the number of points the student received. The program will only accept scores between 0 and 1,000 points (including 0 and 1,000), with 1,000 points being the maximum number of points. If the input value within the valid range, the program will display a "good score" message; otherwise, the program will display an error message and then terminate the program. The program will then calculate the score percentage and then determine the grade based on the percentage using the following grade criteria.

Score Percent    Range     Grade

90-100     A 
80-89     B 
70-79     C 
60-69     D 
0-59     F 

The program will then display the student's first name, last name, and number of points, calculated percentage, and final grade.
The program will have an initial prompt informing the user of the program's purpose, along with a program termination message.
Be sure to think about the logic and design first (IPO chart and pseudocode), then code the Visual Logic command line processing.

1-Variable List With Data Type & IPO Chart

List all variables you will use (use valid variable names). Indicate whether the data type is string, integer, or double, and so on.

List the inputs, any processes/calculations, and outputs. Use the same valid variable names you used in Step 1.

Inputs    Process (calculations)    Outputs

3-Flowchart
Use MS Visio to create a flowchart. Paste the flowchart here, or attach it as a separate document. Use the same valid variable names you used in Step 1.

5-C# Code
Screenshot of Running Program
Zipped Project File (submitted to Dropbox)

Copy/paste your C# code here.

Paste a Screenshot(s) of the complete working program here. Use test scenarios to test all possible paths of execution

Reference no: EM13926115

Questions Cloud

United states prison and jail systems : In the United States of America, prisons are a place where a convicted felon may be transferred to in order to serve the sentence they receive as punishment for the crime(s) they have committed.
Neolithic revolution, the growth of communities : Although telephone systems had much in common with telegraph systems, telephone technology was a more social technology because
Should the social security earnings test be eliminated : In what ways do younger workers pay for Social Security benefits received by retired workers? Should the Social Security earnings test be eliminated? What are the benefits and costs of doing so?
Describe the concept of budgetary control : Budgetary control consists of (a) preparing periodic budget reports that compare actual results with planned objectives, (b) analyzing the differences to determine their causes, (c) taking appropriate corrective action, and (d) modifying future pl..
Calculate the score percentage : If the input value within the valid range, the program will display a "good score" message; otherwise, the program will display an error message and then terminate the program. The program will then calculate the score percentage and then determin..
Determine the profit equations for the long call strategies : Determine the profit equations for the Long call strategies, assuming that the options are held to expiration and exercised if in-the-money rather than sold back.
Define your underlying ethical system, its primary principle : Discuss the potential effect of your ethics on your performance or use of them in your workplace using a specific personal example.
Identify and explore an emerging technology : This capstone course concludes with a research Team Project that starts during the first week and continues throughout the duration of the class. It culminates with the submission of a formal team report and an oral presentation by each team duri..
How will it affect horizontal and vertical equities : If the tax elasticity of supply were zero, how high could the tax rate go before people reduced their work effort? How do families vary the quantity of labor supplied when tax rates change?

Reviews

Write a Review

C/C++ Programming Questions & Answers

  While loop that allows the user to continue entering

This code should include a while loop that allows the user to continue entering employees as long as they want to continue:int main(){Real payrate,hours, gross,again;

  Prepare an arbitrary sinusoidal waveform

Create a program to compute the derivative of an arbitrary input function, with arbitrary duration and arbitrary limits

  Reads numbers from input and prints them in reverse order

Write a C program that reads ten numbers from input and prints them in reverse order. We assume that the data consists of integers. The program should conform to the following format:

  One the same set of axes

One the same set of axes, plot the monopolist's demand and marginal revenue curves. Indicate where theprice elasticity of demand is elastic, inelastic and unit elastic.

  Sum of two squares of natural numbers

The formula "x is a sum of two squares of natural numbers" can be written as ?y?z(x = y × y + z × z).

  Write a c++ program that asks the user for a radius r

Write a c++ program that asks the user for a radius r. The program must include a function called calcwradius that accepts the value of the radius r, and calls the function pi shown below.

  Sockets for this problem you will implement a client-server

sockets for this problem you will implement a client-server version of the rock-paper-scissors-lizard-spock game which

  Create constructor function which takes no inputs

You must have the constructor function which takes no inputs and randomly generates the 5 letter string for name and random integers from 20 to 40 for both age and class size.

  The reverse of each word, and a palindrome checker

give us the first letter of each word, the first half of each word, the reverse of each word, and a palindrome checker to see if the word is a palindrome.

  Sum of all odd numbers between a and b

The sum of all odd numbers between a and b (inclusive). Where a and b are read in by the user - Can you find the error in this code.

  Write a number guessing game in which the computer selects

Write a number guessing game in which the computer selects a random number in the range of 0 to 100, and users get a maximum of 20 attempts to guess it.

  Use functional decomposition to solve

Use functional decomposition to solve this problem, and code the solution using functions wherever it makes sense to do so. Your program should check for invalid data such as nonpositive dimensions, number of rooms less than 1.

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