Creating a program to compute gpa

Assignment Help Other Subject
Reference no: EM1379051

Question: Create a program to read a student's number, his or her old grade point average, and the old number of course credits (e.g., 31479, 3.25, 66) and to then print these with appropriate labels. Next, read the course credit and grade of four courses - for example, course1Credits = 5.0, course1Grade = 3.7, course2Credits = 3.0, course2Grade = 4.0, and so on.

Compute
Old # of honor points = (old # of course credits) * (old GPA)
New # of honor points = course1Credits * course1Grade + course2Credits * course2Grade + ...
Total # of new course credits = course1Credits + course2Grades + ...
Current GPA = # of new honor points/# of new course credits

Print the current GPA with an appropriate label. Finally, calculate cumulative GPA = (#of old honor points) + (#of new honor points)/(#of old course credits) + (#of new course credits) and display this label.

Write the program in C++ language.

 

Reference no: EM1379051

Questions Cloud

Developing a program : Use computer language to write the message "this is page 1" on page one, the message "this is page 2" on page 2, and so on until the message "this is page 7" is written to page 7.
Specification for an assembly language program : Require help with completing the following specification for an assembly language program. This is a practice question.
Arithmetic operator in some language : Simple project statement with one arithmetic operator in some language you know. For each component of statement, list the many bindings that are needed to estimate the semantics when the statement is executed.
Dereferencing of pointers : Discuss the disadvantages are there in implicit dereferencing of pointers, but only in certain contexts?
Creating a program to compute gpa : Create a program to read a student's number, his or her old grade point average, and old number of course credits and to then print these with appropriate labels.
Create a secure parts inventory catalog system : You will create a secure Parts Inventory Catalog system using Model 2 architecture. The application will require a user to have the proper access right to enter the system, and when satisfied, presents the catalog of items currently available in t..
Cobol as a business oriented language : All COBOL was 1st business-oriented language available, is thirty plus years old, and is still being used for many business applications offer opinions on why it is still being used.
Narrative program for currency conversion : Use the C compiler to write a C program that holds your narrative from broken down into one line sentences, that have been commented out.
Determine all binary cyclic codes : Determine all binary cyclic codes of length 5.

Reviews

Write a Review

Other Subject Questions & Answers

  Employ behavioral and cognitive interventions or models

Write 1050-1400 words about hospital programs that employ behavioral and/or cognitive interventions or models. Some areas to explore:

  Development of a mentally healthy child

How can socioeconomic status and wealth influence the development of a mentally healthy child?

  Mental-physical and spiritual health

How realistic is it to expect health care workers to model mental, physical, and spiritual health? If Americans tend to be overweight, underactive workacoholics who experience burnout, why should health care workers be any different?

  What is organizational psychology

What is organizational psychology? How is it different from general psychology?

  Explain what is a telecommunications standard

Explain what is a telecommunications standard

  Issue fits into the field of sociology

Explain how your issue fits into the field of sociology. Find out the sociological theories and terminology from the text which apply to your social issue.

  Context of domestic violence

Discuss in detail how the context of domestic violence may be preventable from the perspective of the victim or potential victim and how that might be accomplished.

  Observation techniques in the aide

Which one of the given observation methods is the aide using?

  American materialism

The 1960s represented an era of significant economic growth for Americans. Some economists argue that the early 1960s began the consumerism that defines American culture today. To what extent did American materialism --

  Human neuropsychology fundamentals

In describing human behavior and the brain, what would be the relationship between learning and memory from a functional viewpoint?

  Right to believe

Does everyone have a right to believe what one wants? The answer would be yes but a qualified "yes".

  Overview of federal government contract

You recently retired from government contracting work and established a consulting company (fully consistent with government ethics laws and rules, of course)What do you tell him? Include the rationale for your advice.

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