Hello everybody. I am new to C++ and this week I am stumped with my homework.
My homework this week is about writting a program that calculates the cost of babysitting. We have to use if statements to show the different output. My facilatator told us that it should not take us more than 60 lines of code. I have worked out the problem on paper and started to write the code. So far I have about 60 lines code and I am only about half way done. I am wondering if it is possible for the program to be 60 lines of less? I also need to use the <cctype> to convert user input to upper case but I keep on getting errors.
I finally finished my code and I tested all the different cases. It seems to be working fine. Thank you for your assistance I will try that code and make the toupper() function work.