Write a program that will take in basic information from a student, including student name, degree name, number of credits taken so far, and the total number of credits required in the degree program.  The program will then calculate how many credits are needed to graduate.  Display should include the student name, the degree name, and credits left to graduate. Step 1:  Examine the following algorithm. (Reference: Designing a Program, page 31). Get the student name. Get the degree program name. Subtract the number of credits taken so far from the required credits for the degree. Get the number of credits required for the degree program. Get the number of credits the student has taken so far. Display the input information in Step 1 and 2. Display the calculated information.  Step 3:  What steps require user interaction (Ex: user must type in some input)?

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter5: Control Structures Ii (repetition)
Section: Chapter Questions
Problem 28PE
icon
Related questions
Question

Text Book:  Starting Out with Programing Logic & Design 5 edition 

Write a program that will take in basic information from a student, including student name, degree name, number of credits taken so far, and the total number of credits required in the degree program.  The program will then calculate how many credits are needed to graduate.  Display should include the student name, the degree name, and credits left to graduate.

Step 1:  Examine the following algorithm. (Reference: Designing a Program, page 31).

  1. Get the student name.
  2. Get the degree program name.
  3. Subtract the number of credits taken so far from the required credits for the degree.
  4. Get the number of credits required for the degree program.
  5. Get the number of credits the student has taken so far.
  6. Display the input information in Step 1 and 2.
  7. Display the calculated information. 

Step 3:  What steps require user interaction (Ex: user must type in some input)?

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 1 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT