Answer:
5 hours 25 minutes
Explanation:
It takes 25 minutes to finish a hole
It takes 25*13 minutes to finish 13 holes
325 minutes is require to finish 13 holes
Convert 325 minutes to hours and minutes by dividing it by 60
=5 5/12 hours
Convert 5/12 hours to minutes by multiplying by 60
=25 minutes
The answer is 5 hours 25 minutes
The OS shell allows access to the operating system services
Answer:
B
Explanation:
You need Name , Age and Gender
the second requirement should only match the last row where age is 20 and gender is male.
thrid requirement of the query is that its syntax should be correct.
Option B staisfies all of required so it is the correct option.
// Variable to keep track of array size
int length = 0;
// Array itself
int array[] = {};
// while loop will take input in the array until a negative number is entered
while(input>=0){
stdin = new Scanner(System.in);
array[length] = stdin;
length +=1;
}
// int variable to terminate while loop
int i =0;
// keep track of index of output array
int y =0;
while(arr[i] != length){
// making output array
int output[]={}; bool flag;
// put the element in out put array considering if it the desired one
output[y] = array [i];
// Now check if it was the desired?
for(int z=1;z<=length;z++){
if(array[i+z]!=output[y]){
flag = true;
}
else
{
output[y]=0;
y+=1;
}
if(array[i+z+1]=output[y] && flag == true){
output[y] = array[i];
y+=1;
}
}
//output the array
for(int o=0;o<y;o++)
System.out.println(output[o];