Question

In: Computer Science

A student is eligible to apply for graduation in a semester if the student has completed...

A student is eligible to apply for graduation in a semester if the student has completed 120 or more credits and currently registered in the senior project class. Your job is to write a C++ program to determine whether a student can apply for graduation or not.

The program should ask questions to the user on the screen and determine and output "Yes, you can apply for graduation" or "No, you cannot apply for graduation yet". Make sure to test your program for both graduating and not graduating student data.

Solutions

Expert Solution

#include<iostream>
using namespace std;
int main()
{
    int credit;
    char p;
    cout<<"\nEnter total number of credits :";
    cin>>credit;
    cout<<"\nAre you in senior project class(y/n) :";
    cin>>p;
    if((credit>=120)&&(p=='y'))
    cout<<"\nYou can apply for graduation";
    else
cout<<"\nYou cannot apply for graduation";
}

If you have any questions comment down. Please don't simply downvote and leave. If you are satisfied with answer, please? upvote thanks


Related Solutions

At one college, the tuition for a full-time student is $8,000 per semester. It has been...
At one college, the tuition for a full-time student is $8,000 per semester. It has been announced that the tuition will increase by 3 percent each year for the next 5 years. Write a program with a loop that displays the projected semester tuition amount for the next 5 years. The program should print out the result in the form In 1 year, the tuition will be $8002.3. In 2 years, the tuition will be $8103.2. In 3 years, …...
To be eligible for the leadership training program offered by the office, a student must have...
To be eligible for the leadership training program offered by the office, a student must have at least 2 years of post-secondary education or have gone through the organization finance training. In cell K2 enter a formula using the IF and OR functions as follows to determine if Kay Colbert can join the leadership training program: The IF function should determine if the student's Post-Secondary Years is greater than or equal to 2 OR if the student's finance certified status...
At the beginning of the semester, the amount of time a student waits in line at...
At the beginning of the semester, the amount of time a student waits in line at the campus cafeteria is normally distributed with a mean of five minutes and a standard deviation of 1.5 minutes. If you randomly select 81 students, what is the probability that they have a mean waiting time between 4.7 and 5.8 minutes? Group of answer choices .9641 .718 .0359 .282
An entity can apply the fair value option to an eligible item only on the date...
An entity can apply the fair value option to an eligible item only on the date when one of the following events occurs (an election date): Specialized accounting for an item ceases to exist; An investment becomes subject to equity method accounting (but is not consolidated) or to a VIE that is no longer consolidated; or An event that requires the item to be measured at fair value, such as a business combination or significant modifications to debt instruments. Please...
A full-time student pays $8,000 per semester. It has been announced that the tuition will increase...
A full-time student pays $8,000 per semester. It has been announced that the tuition will increase by 3 percent each year for the next three years. Write a program with a loop that displays the projected semester tuition amount for the next three years. Also, provide the option to the student to calculate the tuition for another three years using the same percent increase. Please remember, if the student decides to calculate the tuition for another three years the starting...
at a large University the graduation rate for the general student body was reported to be...
at a large University the graduation rate for the general student body was reported to be 0.66 we want to compare the center spread and shape of the distribution of sample proportion graduating from random samples of five students compared to the distribution and random samples of 50 students what is the center of the distribution for samples of size 5 round the answer to two decimal places
(5 pts) When they apply for graduation, students at a certain university are required to complete...
(5 pts) When they apply for graduation, students at a certain university are required to complete a brief survey about whether they felt they received sufficient value for the tuition they paid. This methodology has inherent sampling bias, particularly if the university is trying to use this data to assess whether its student population are finding value for their tuition dollar. Please describe the types of individuals and/or responses that would likely be overrepresented in this sampling methodology.
A student in economics has completed her undergraduate degree and has been accepted into a one-year...
A student in economics has completed her undergraduate degree and has been accepted into a one-year postgraduate business programme. Upon completion of this degree she will earn an additional $2,000 a year for each of the next 50 years. She will give up $18,000 income that she would otherwise earn and sustain additional costs of $2,000 for educational materials such as books. She cares only about the financial implications of her decisions. (a) if the interest rate for borrowing and...
A student in economics has completed her undergraduate degree and has been accepted into a one-year...
A student in economics has completed her undergraduate degree and has been accepted into a one-year postgraduate business program. Upon completion of this degree she will earn an additional $3,000 a year for each of the next 40 years. She will give up $19,500 income that she would otherwise earn and sustain additional costs of $2,000 for educational materials such as books. She cares only about the financial implications of her decisions. (a) If the interest rate for borrowing and...
 A nursing student is considering working for a pediatric endocrinologist after graduation and is concerned about...
 A nursing student is considering working for a pediatric endocrinologist after graduation and is concerned about her ability to gain sufficient knowledge to respond to questions from patients and their parents about various metabolic disorders. What could the student do to acquire more knowledge in this field, and what will the student discover in terms of the role of the endocrine system?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT