Question: Can you help me with c++ Given integer homeworkTime, write multiple if statements: - If homeworkTime is greater than or equal to 32 , output

Can you help me with c++

Can you help me with c++ Given integer homeworkTime, write multiple if

Given integer homeworkTime, write multiple if statements: - If homeworkTime is greater than or equal to 32 , output "I can complete my homework." - If homeworkTime is greater than or equal to 53, output "I can finish my homework and have extra time." - If homeworkTime is less than or equal to 5, output "I don't have time to do my homework." End with a newline. Ex: If the input is 56 , then the output is: I can complete my homework. I can finish my homework and have extra time. \begin{tabular}{r|r} 1 & \#include \\ 2 & using namespace std; \\ 3 & \\ 4 & int main() \{ \\ 5 & int homeworkTime; \\ 6 & \\ 7 & cin >> homeworkTime; \\ 8 & \\ 9 & /* Your code goes here / \\ 10 & \\ 11 & return 0; \\ 12 & \} \end{tabular}

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!