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

  Purpose of a provider contract

What is the purpose of a provider contract? What intentions are enclosed in a provider contract and why is it important to detail party relationships

  Physicians for preventive purposes

If you were developing a health promotion program to encourage older adults to visit physicians for preventive purposes, what approach would you use and why?

  Leaders of functionalism in american psychology

Who are some of the leaders of functionalism in American psychology?

  Write short notes on carrying capacity

Using examples discuss any two push factors and pull factors that affect demand and supply of tourism Write Short Notes on Topic 1- Doxey's IRRIDEX Topic 2- Butler's TALC Topic 3- Carrying Capacity

  Effects of dehydration

Write about the effects of dehydration. Include answers to the following:

  English common laws influence

How the English common law influenced the development of the American legal system?

  Health issue-school lunch programs

The schools are in a bind as they make money off of the vending machines yet what is their responsibility to the 2/3 of overweight Americans? What are schools serving up for lunch? Does the community see this as a health issue?

  Responsibilities for psychologists or social workers

Ethical and legal responsibilities for psychologists or social workers. Identify the state two of the ethical or legal responsibilities. Do you believe these are valuable/ Why or why not.

  What is loss of earnings

Mary was employed by a restaurant as a waitress. She occasionally carried on business as an illegal hawker on her rest days.

  Neurological structure and processes

I need assistance with investigating the relationship between neurological structure and processes, stress, and anxiety disorder. I need to discuss:

  Central government with large power

Why were the formers of the Constitution concerned about the central government having to much power? How did they address that issue?

  Nursing or health care settings to support organization

Which resources might be employed in a nursing or health care settings to support the organization's strategic initiatives?

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