Write a program that calculates a students exam average

Assignment Help Computer Engineering
Reference no: EM132208483

Write a program that calculates a student's exam average and course grade.

Input will be read from a single file that contains a student's name (single string with no whitespace) and 3 separate exam scores.

Your program should print the student's name, each exam score, theaverage score, and a letter grade based on the following scale:?

A: 90% or higher? B: 80% or higher? C: 70% or higher? D: 60% or higher?

F: below 60%If at least one exam was failed (below 60%) and the student has a passing grade (D or higher),print the following message:

"At least one exam was failed. Make-up work may be required to pass the class."

Reference no: EM132208483

Questions Cloud

Write java statements that output to the console : The output lists each number in the file and displays which of the four properties hold true for that number.
Creating a brand identity using given information : People connect through stories. Storytelling is an effective way to create and sell a brand image. Choose a known brand and discuss the brands story.
How much are you reducing the other villagers profits : If you add an 8th cow, how much are you reducing the other villagers' profits? (hint: calculate their individual profits when there are 7 cows.
Write a simple classification program for types of birds : The program should ask for the color of the feathers of the bird the user is seeing. The only possible values are red, yellow, blue or green.
Write a program that calculates a students exam average : Input will be read from a single file that contains a student's name (single string with no whitespace) and 3 separate exam scores.
Write a program to check input in java : Write a program to check input in Java -The program will not stop until "stop" or "terminate" is input.
Show all the input vectors on the screen in black : Write a program in C# that reads that contains the magnitude and direction of (up to 15 vectors).
Write a program in that sets an int variable x to 100 : Write a program in (C) that sets an int variable x to 100 before forking a child. Display the value of x, reset it to 200, and display again.
Why do you think the us experience has been so much milder : Why do you think the U.S. experience with inflation over the last 40 years has been so much milder than in many other countries? After answering this question.

Reviews

Write a Review

Computer Engineering Questions & Answers

  What are base cases for recursive binary search algorithm

In printing the components of an array recursively, what is the base case? What are the base cases for the recursive binary search algorithm?

  Give a new yes-instance of problem partition

Can the multi-set S be partitioned into two multi-sets Sa and Sb such that the sum of the integers in Sa is exactly equal to the sum of the integers in Sb.

  Calculate the sums of each row in a given 2-d array

* Write a function called rowSum that calculates the sums of each row in a given two-dimensional array and returns these sums in a one-dimensional array.

  Create a program that uses the division method of hashing

Create a data set with 100 integer values. Create a program that uses the division method of hashing to store the data values into hash tables with table sizes of 7,,51 and 151.

  Using the euclidean algorithm find the decipherment key

Using the Euclidean Algorithm find the decipherment key, d, when p =53 and q=61 and the encryption exponent.

  Write an application with three buttons

Write an application with three buttons labeled Red, Green, and Blue that changes the background color of a panel in center of the frame to red, green or blue.

  Describe three different specific malware instances

Describe three different specific malware instances, with specific real life impact. What is the worst that can happen in these three instances? Defenses

  Write a recursive method which takes the reference to root

Write a recursive method which takes the reference to the root node of a tree T and returns a reference to the root node of the tree.

  Write a function named roots that solves quadratic equations

Write a function named 'roots' that solves quadratic equations using the quadratic formula: It should take as arguments three numbers a, b, and c.

  Why relational database was the best choice

create a relational database containing information about music performers, their recordings, and the composers of the music they recorded.

  Outline an alternative way of defining timed pns

Show that timed PNs, as defined in this chapter. Outline an alternative way of defining timed PNs that could cope with the problem.

  Write nested decision structures that perform given problem

Write nested decision structures that perform the following: If amount1 is greater than 10 and amount2 is less than 100, display the greater of amount1 and amou

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