Program to compute grade point average

Assignment Help Programming Languages
Reference no: EM1352427

Q1) Test file stores the courses you have taken along with corresponding grade(A,B,C,D, orF) that you received in each course.The file might look like this:
Intoduction to Sociology A
Physics B

Experimenetal Psychology C

Write a program that uses such a file to calculate your grade point average(GPA). A GPA is based on a scale from 5, where A is 4, B is 3, C is 2, D is 1 and F is 0. You should prnt the GPA with two decimal places such as 3.62.

Reference no: EM1352427

Questions Cloud

Emerging issues in cross-cultural psychology : What are some examples of emerging issues in cross-cultural psychology? Which one of these issues is the most crucial?
What is the change in kinetic energy : A small block of mass m1 = 0.5kg slides to the left, with a velocity of v1 = -8.40 m/s, towards a curved wedge of mass m2 = 3 kg which sits on an icy, frictionless lake surface.
Relationship among leadership and organizational behavior : Explain why is defining culture simply as the organization's values not an effective way to look at culture and describe the characteristics of effective teams.
Why industry is currently operating where the mc produced : A industry is currently operating where the MC of the last unit produced = $84, and the MR of this unit = $70. What would you advise this firm to do.
Program to compute grade point average : Write a program that uses such a file to calculate your grade point average(GPA). A GPA is based on a scale from 5, where A is 4, B is 3, C is 2, D is 1 and F is 0.
Concepts of causal attribution and self-schemata : Using concepts of causal attribution, self-schemata, self-guides and other related cognitive constructs, Why would she have difficulty coping with life?
Leverage affects on ebit and eps : I heard something from Bob the bartender the other day. He said one type of leverage affects both EBIT and EPS.
What is the electrostatic force that acts on this charge : At 18°C, a rod is exactly 20 cm long on a steel ruler. Both the rod and the ruler are placed in an oven at 285°C, where the rod now measures 20.21 cm on the same ruler. What is the coefficient of linear expansion for the material of which the rod ..
Explain if an investment does not fit with an organization : Explain If an investment does not fit with an organization's strategic plan and Under what conditions would this be a true statement?

Reviews

Write a Review

Programming Languages Questions & Answers

  Create application to generate a series of random numbers

Create the application to generate a series of 100 random numbers in the range of 1 through 1000. Save the series of numbers in a file.

  What are the contents of given register

Memory location 2000H has the word 5000H stored in it. What does each location contain after INC BYTE PTR[2000H]. Also after DEC WORD PTR[2000H]

  Characteristics used for biometric user authentication

You have just been promoted to manager of computer security for large enterprise (XYZ Corporation). Your first project as security manager is to estimate principal physical characteristics used for biometric user authentication.

  Produce a project plan

Produce a project plan and an interim description of the project development

  Explaining the situation in program

Which of the following best explains the situation after Line 1 has been executed?

  Create a menu type form that gives user to select subforms

Create a menu type form that provides the user the capability to select one of the following two subforms. Means of selection is programmers choice.

  Writing class containing two instance variables

Write class named ParkingMeter containing: two instance variables named timeLeft and maxTime of type int. Value of timeLeft must be initialized to 0.

  Basics of hypertext markup language

The basics of Hypertext Markup Language and World Wide Web.

  Prolog program to reads employee-s number

Write a prolog program that reads an employee's number from the keyboard, number of hours worked and an hourly rate of pay.

  Design program to ecode message using caesar cypher

Design a program which decodes messages. Messages will be encoded using Caesar cypher, with each letter being decoded by replacing it with previous letter in alphabet.

  Using the irvine32 library functions

Create 32 random points which have (x, y) co-ordinates

  Object-oriented analysis and design

Object-Oriented Analysis and Design,  PART B-object-oriented design involves the steps 13-18:

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