Question: Please note I can ONLY use #include PLEASE READ I'm in a beginning class and we're just starting to learn how to make simple C++


Please note I can ONLY use
#include
PLEASE READ I'm in a beginning class and we're just starting to learn how to make simple C++ programs using Putty. I need help doing problems and fully understanding how to do them so that I can do others like them on my own. Here Is the problem glven: The program will ask for a time in 2 integers: hours and minutes. It will tell the angles of the hour and minute hands on the clock. Requirement: You may NOT use if else, switch or loops. You can solve this problem only using some arithmetic operators such as +, * /, % and (). PLEASE BE SURE THAT THE PROGRAM IS ABLE TO OUTPUT THE ANSWERS EXPECTED IN THE FOLLOWING TEST CASES: Enter hours: 3 Enter minutes: 45 The angle of the hour hand is 112.5 The angle of the minute hand is 270 Enter hours: 12 Enter minutes: 0 The angle of the hour hand is 0 The angle of the minute hand is:0 Enter hours: 12 Enter minutes: 30 The angle of the hour hand is 15 The angle of the minute hand is 180 Enter hours: 15 Enter minutes: 10 The ang le of the hour hand is 95 The angle of the minute hand is 60 Enter hours: 24 Enter minutes: 23 The angle of the hour hand is 11.5 The angle of the minute hand is 138
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
