1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
pochemuha
2 years ago
5

You are building a game that needs to do the following:

Computers and Technology
1 answer:
klio [65]2 years ago
5 0
Green block and the red block
You might be interested in
2.3 Code Practice: Question 3
Tpy6a [65]

Answer:

Code in C++

Explanation:

C++ Code

#include<iostream> //for input and output  

using namespace std;  

int main()  

{  

  int hour;

  int minute;

  cout<<"Enter the hour:";

  cin>> hour;

  cout<<"Enter the minute:";

  cin>>minute;

  minute = minute+15;

  if(minute>=60){

   hour++;

   minute=minute-60;

  }

  if(hour>=24){

   hour=0;

  }

  cout<<"Hours: "<<hour<<endl;

  cout<<"Minutes:"<<minute;

  return 0;  

}

Code Explanation

First we need to declare two int variables to hold hour and minute values input from user.

Check if by adding 15 minutes into minute entered by user is greater then or equal to 60 then increment into hour and subtract 60 from minute.

Another check is that if user enters more then 24 hour or by making increment into hour, the hour values i greater then or equal to 24 then we need to change the hour to 0.

Result

Case 1:

Enter the hour:8

Enter the minute:15

Hours: 8

Minutes:30

Case 2:

Enter the hour:9

Enter the minute:46

Hours: 10

Minutes:1

8 0
3 years ago
What is systems integration?
valina [46]

Explanation:

In engineering, system integration is process of bringing various component subsystems together into one single system and also ensuring that these subsystems function as one system together.

In information technology, it is process of linking together various computing systems and various software applications functionally or physically, to act as coordinated whole.

System integrator integrates various discrete systems utilizing variety of techniques.

7 0
4 years ago
Please answer the following essay question:
MArishka [77]
Advertising is a paid promotion that uses strategic planning to target a certain audience. The seven functions of marketing is promotion, selling, product management, marketing information management, pricing, financing, and distribution. Usually you see common advertising such as digital ads, billboards, newspapers, flyers, and more. Advertising can spread awareness, popularize a brand, increase customer demand, and company profits. Advertising is necessary for most- if not all- companies including media outlets, the television industry, search engine companies, and social media websites.
8 0
3 years ago
Consider the following code:
Deffense [45]

Answer:

The output of C is 102.

100 + 1 + 1 = 102

8 0
3 years ago
true or false? system testers typically do not need a list of errors to recover from when performing error detection and recover
MissTica

Recovery testing, a type of non-functional testing, ascertains whether the software can bounce back from failures such hardware/software crashes or any network issues.

Switch off the WiFi connection while data is downloading on your system, then turn it back on later to see if the data is still being downloaded or if it has lost any progress.

Restart the system and let the browser operate in many sessions. Verify that all of the sessions were reloaded when the system has been restarted.

Unplug the cable while the application is getting data from the network to fail the scenario. After some time, reconnect the cable and check to see if any data has been recovered and if the program is still receiving data from the location where the connection was lost.

Learn more about system here-

brainly.com/question/27162243

#SPJ4

4 0
1 year ago
Other questions:
  • Calculated fields can be entered in queries. What row should you type a calculated field in?
    13·1 answer
  • What are the changes in ios 14.2? What are the benefits of the ios developer program? What is next for Apple? Base your answers
    14·1 answer
  • If you have long column labels with columns so wide that they affect the readability of a worksheet, you should first
    15·2 answers
  • "_____ devices improve memory by encoding items in a special way."
    13·1 answer
  • How long is a subnet mask? (Please select one of the four options)
    5·1 answer
  • Horizontal scaling of a client/server architecture means _____.
    12·1 answer
  • Help me, I'll mark brainiest
    12·1 answer
  • What is the relationship between an object and a class? A. An object is an instance of a class. B. A class is an instance of an
    5·1 answer
  • What is it called when a programmer includes a step in an algorithm that lets
    5·1 answer
  • Does anyone know the answer
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!