Purchase Solution

Programming Problems (types)

Not what you're looking for?

Ask Custom Question

Write 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, andso on.
Calculate
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
cumulativeGPA = (#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.

Purchase this Solution

Solution Summary

Programming Problems (types) are solved.

Purchase this Solution


Free BrainMass Quizzes
Javscript Basics

Quiz on basics of javascript programming language.

Basic UNIX commands

Use this quiz to check your knowledge of a few common UNIX commands. The quiz covers some of the most essential UNIX commands and their basic usage. If you can pass this quiz then you are clearly on your way to becoming an effective UNIX command line user.

Word 2010: Tables

Have you never worked with Tables in Word 2010? Maybe it has been a while since you have used a Table in Word and you need to brush up on your skills. Several keywords and popular options are discussed as you go through this quiz.

Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.

Basic Networking Questions

This quiz consists of some basic networking questions.