Answer:
Explanation:
C++ Code
#include <iostream>
#include <cstdlib>
using namespace std;
int main(){
double hour,minute;
cout<<"Enter Hours :";
cin>>hour;
cout<<"Enter Minutes :";
cin>>minute;
minute = minute+15;
if(minute >=60){
hour++;
minute = minute-60;
}
if(hour>23){
hour = 0;
}
cout<<"Hour: "<< hour<< " Minutes: "<<minute;
return 0;
}
Code Explanation
First take hours and minutes as input. Then add 15 into minutes.
If minutes exceeds from 60 then increment into hours and also remove 60 from minutes as hours already incremented.
Then check if hours are greater then 23 then it means new day is start and it should be 0.
Output
Enter Hours :9
Enter Minutes :46
Hour: 10 Minutes: 1
Answer:
food??
Explanation:
if you don't eat food, the acid produced in the stomach will break down the stomach walls instead of the food, giving you ulcers
Answer:
B. Unsafe Sites
Explanation:
Unsafe Sites are not safe and contain content which may be offensive and which could also be harmful for younger children.
Answer:
I don't know if this is right output is {1,3}
Explanation:
Answer:
tested either before or after the loop body executes
Explanation:
When a loop executes, the structure-controlling condition is "tested either before or after the loop body executes."
This is evident in the fact that during loop execution, the control structure moves across the statements subsequently, should the statement be true, the loop execution continues until it becomes false, then the loop terminates.