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
<h2>
Who are your main clients and competitors?</h2><h2>What key information might your users want to see on the home page?</h2>
Explanation:
Here the understood situation is that, the business is expanding so they need to develop a website.
Who are your main clients and competitors?
This is essential to understand the expectation of the client.
What key information might your users want to see on the home page?
Here the content of the web page is more important for any website.
Reason given to Invalid options:
The client does not know technical terms. So, the questions like which language should be used to develop the site or inquiring about the font and background goes void. The user may not have visited much websites too.
Answer:
some parents have replaced the customary practice of reading a bedtime story to childern with a television show of the child's choice
Explanation:
Answer:
import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
System.out.println("How many numbers do you want to add?");
int numberOfNumbers = scanner.nextInt();
int arrayNumbers[] = new int[numberOfNumbers];
System.out.println("Enter " + numberOfNumbers + " numbers:\n");
for(int i = 0; i < numberOfNumbers; i++){
int addToArray = scanner.nextInt();
arrayNumbers[i] = addToArray;
}
int sum = 0;
for(int j = 0; j < arrayNumbers.length; j++){
sum+=arrayNumbers[j];
}
System.out.println("Sum: " + sum);
}
}
Explanation: