subject

Design a program that uses classes to keep track of a student's food purchases at the campus cafeteria. a meal card is assigned to an individual student. when a meal card is first issued, the balance is set to the number of points. if the student does not specify the number of points, then the initial balance is set to 100 points. points assigned to each food item are a whole number. a student can purchase additional points at any time during the semester. every time food items are bought, points are deducted from the balance. if the balance becomes negative, the purchase of food items is not allowed. while there is more than one way to solve this problem, you are being assessed on your ability to use what you have learned so far as a programmer to come up with an efficient and effective solution to this problem.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 00:40
Reading characters and strings from the keyboard: consider the following c++ program 1. #include 2. #include 3. using namespace std; 4. mystring1 5. 6. int main() 7. { 8. 9. string mystring1, mystring2; mychar1 10. 11. 12. char mychar1, mychar2; 13. 14. cout< < "enter a string: "; mychar2 15. 16. cin> > mystring1; // 17. cin.get(mychar1); 18. cin> > mychar2; 19. getline(cin,mystring2); mystring2 20. 21. 22. cout<
Answers: 1
question
Computers and Technology, 22.06.2019 11:00
Technician a says that the radiator usually cools better if the front air dam is removed. technician b says that when a condenser has a leak it can be repaired easily with epoxy. who is correct?
Answers: 1
question
Computers and Technology, 22.06.2019 15:00
I'm taking a class on how to make a movie, and it offers some apps that would be in the process. the thing is, i don't have any of those ha. if you have any tips on some apps i could use, that would be awesome. i don't have an iphone, so don't suggest any apps like imovie. i know that this is a weird question, but it would be super for me. : )
Answers: 2
question
Computers and Technology, 22.06.2019 18:00
Which of the following physical laws can make the flow of water seem more realistic? a. motion b. gravity c. fluid dynamics d. thermodynamics
Answers: 2
You know the right answer?
Design a program that uses classes to keep track of a student's food purchases at the campus cafeter...
Questions
Questions on the website: 13722367