Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (toupper(requirement.at(0)) == 'R')
- {
- if (New_Used.at(0) && toupper(requirement.at(0)) == 'N')
- {
- cout << order = new_req * student_enrollment << endl;
- }
- else
- {
- cout << order = used_req * student_enrollment << endl;
- }
- }
- else
- {
- if (toupper(requirement.at(0)) == 'X')
- {
- if (New_Used.at(0) && toupper(requirement.at(0)) == 'N')
- {
- cout << order = new_rec * student_enrollment << endl;
- }
- else
- {
- cout << order = used_rec * student_enrollment << endl;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement