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:
A. two
Explanation:
can i have brainliest please
Answer
Three
Feature classes are the collections of common features,these collections each has a spatial representation such as points. and common set of attribute columns. so if you select three separate parcels from a future class three rows will be selected in the selected attribute table because each representation has spatial representation.
Answer:
The statement to this question can be given as:
Statement:
void printLarger(int sales1, int sales2)//function declaration.
{
//function body
}
Explanation:
Function is a group of organized code that is used to perform some specific task.
Syntax:
return-type functionname(parameters1,....parameter n)
{
//function body.
}
In the above function definition we define a function that is "printLarger". This function accepts two integer parameters that is "sales1 and sales2" and does not return any value because we use return-type void.