Checkpoint 4.20 Assume hour is an int variable. Write an if statement that displays the message “Time for lunch” only if hour is equal to 12.

Answers

Answer 1

Answer:

if(hour == 12)

{cout << "Time for lunch";}

Explanation:


Related Questions

G. Write OOP in foll. What's aprogramming language?examples programming languages ? Outline any five​

Answers

Explanation:

Significant object-oriented languages include: Java, C++, C#, Python, R, PHP, Visual Basic.NET, JavaScript, Ruby, Perl, SIMSCRIPT, Object Pascal, Objective-C, Dart, Swift, Scala, Kotlin, Common Lisp, MATLAB, and Smalltalk.

I hope it helps you don't forget to give ratings

What is something you can setup within your email account to prevent potentially harmful emails making their way to your inbox?.

Answers

The thing that one need to setup within their email account to prevent potentially harmful emails making their way to your inbox are:

Set Up Filters.Block unwanted Email Addresses.Report Spam Directly.Do Unsubscribe from Email Lists, etc.

Which feature helps to prevent spam messages from being sent to your inbox?

To avoid spam in one's email, one of the best thing to do is to Run your inbox through spam filter and virus filter.

Hence, The thing that one need to setup within their email account to prevent potentially harmful emails making their way to your inbox are:

Set Up Filters.Block unwanted Email Addresses.Report Spam Directly.Do Unsubscribe from Email Lists, etc.

Learn more about Email  from

https://brainly.com/question/24688558

#SPJ1

Should a UDP packet header contain both Sour Port # and Destination Port #?

Answers

Yes, a UDP packet header should contain both Sour Port # and Destination Port #.

Which fields are included in a UDP header?

The fields that one can see in a UDP header are:

Source port :

This is known to be the port of the device that is known to be sending the data. This field is one that a person can set to zero only if the destination computer do not require one to reply to the sender.

Destination port :

This is known to be the port of the device that is said to be getting or  receiving the data.

Hence, to the answer above, my response is Yes, a UDP packet header should contain both Sour Port # and Destination Port #.

Learn more about UDP packet from

https://brainly.com/question/10748175

#SPJ1

Fill in the blanks to help write this professional e-mail:



✔ Hello Mr. King,

My boss asked me to get feedback from an expert on our proposed project schedule.
✔ Would you be willing to look at my document?

The file is attached.
✔ If you can get your feedback to me by the end of the week, that will help me meet my deadlines.


✔ I appreciate your help,

Sam

Answers

The Fill in the blanks of this professional e-mail is given below:

What is the email about?

The Manger,

Dangete group.

To Mr. King,

                    Email on project presentation schedule

I want to inform you regarding the project. My boss asked me to get feedback from an expert on our proposed project schedule. I  do not know if you be willing to look at my document and if you are,  The file is attached.

The project has a fixed deadline and as such,  If you can get your feedback to me by the end of the week, that will help me meet my deadlines. Thanks for your understanding. I appreciate your help.

Yours faithfully,

San  

Learn more about email from

https://brainly.com/question/25886641

#SPJ1

Describe the specific job you would want to have if you were going to pursue a career in digital music or video.
Explain what this job entails, and discuss why it appeals to you. What skills and interests do you have that
would be well-represented and utilized in this job? What skills would you need to learn or improve?

Answers

The specific job you that i would want to have if you were going to pursue a career in digital music or video is to be a gospel music producer.

What does a gospel music producers do?

A gospel producer, or record producer, is known to be a person who is said to often help an artist in regards to their recording project.

Note that the field i am interested in is Christian gospel music and the skills is that it requires one to be:

Be able to Play an Instrument.Be a Sound EngineerMusic Theory & CompositionManaging People. Communication and others.

The skill that i need to improve on is music theory.

Hence, The specific job you that i would want to have if you were going to pursue a career in digital music or video is to be a gospel music producer.

Learn more about Music from

https://brainly.com/question/26373912

#SPJ1

How serious are the risks to your computer security?

Why is it important to protect a Wi-Fi network? What should you do to protect your Wi-Fi network?

Answers

Explanation:

classify the types of digital computer with short description

In this lab, you complete a prewritten Python program for a carpenter who creates personalized house signs. The program is supposed to compute the price of any sign a customer orders, based on the following facts:

The charge for all signs is a minimum of $35.00.
The first five letters or numbers are included in the minimum charge; there is a $4 charge for each additional character.
If the sign is make of oak, add $20.00. No charge is added for pine.
Black or white characters are included in the minimum charge; there is an additional $15 charge for gold-leaf lettering.

Instructions
Make sure the file HouseSign.py is selected and open.
You need to assign variables for the following:
A variable for the cost of the sign assigned to 0.00 (charge).
A variable for the number of characters assigned to 8 (numChars).
A variable for the color of the characters assigned to "gold" (color).
A variable for the wood type assigned to "oak" (woodType).
Write the rest of the program using assignment statements and if statements as appropriate. The output statements are written for you.
Execute the program by clicking the Run button at the bottom of the screen. Your output should be: The charge for this sign is $82.0.

Answers

Using the computer language in python to write a function code that personalized house signs

Writting the code in python:

#Assign varibles

charge = 0.00

numChars = 8

color = "gold"

woodType = "oak"

#Checking for number of characters

if numChars > 5:

charge = 35 + (numChars-5)*4

elif numChars > 0:

charge = 35

#Checking wood type

if woodType == "oak":

charge += 20

#Checking for color

if color == "gold":

charge += 15

#Print output

print("The charge for this sign is $"+str(charge)+".")

See more about python at brainly.com/question/13437928

#SPJ1

Discussion Topic
Personal finance includes income as well as expenses. You must manage your
personal finances daily, weekly, or monthly. Discuss the advantages of using
spreadsheets for managing personal finances.

Answers

The advantages of using spreadsheets for managing personal finances is that:

Spreadsheets are known to be tools that are very quick and easy and helps one to add into a workflow. Spreadsheets are regarded as an efficient tools for financial documents. A person can have access to a lot of spreadsheet templates and they can be able to visualize data along with caveats.

What is the advantage of using a spreadsheet?

The Advantage is that it is one that help[s a person to be able to organizing a lot of data.

Note that The advantages of using spreadsheets for managing personal finances is that:

Spreadsheets are known to be tools that are very quick and easy and helps one to add into a workflow. Spreadsheets are regarded as an efficient tools for financial documents. A person can have access to a lot of spreadsheet templates and they can be able to visualize data along with caveats.

Learn more about spreadsheets  from

https://brainly.com/question/26919847

#SPJ1

In cell I5, enter a formula without using a function that divides the General Medicine total in cell H5 by the annual total in cell H9 to display the department’s percentage of total revenue. Use an absolute reference for cell H9, and then enter the same formula without formatting from cell I5 to the range I6:I9.

Answers

The formula to enter in cell I5 is  = $H$5/H9

How to enter the formula?

The given parameters are:

Cell H5 = Medicine TotalCell H9 = Annual Total

To divide H5 by H9, we have

H5/H9

Cell H5 is to be referenced by absolute reference

So, we have:

$H$5/H9

To enter the formula in cell I5, we use the following:

= $H$5/H9

When the same formula is entered in I6 to I9, we have:

= $H$5/H10

= $H$5/H11

= $H$5/H12

= $H$5/H13

Read more about Excel formulas at:

https://brainly.com/question/14299634

#SPJ1

You are building a Music Player app.
You need to implement the MusicPlayer class, which should hold the track names as Strings in an array. The array is already defined in the given code.
The player should support the following functions:
add: add the given argument track to the tracks array.
show: output all track names in the player on separate lines.
play: start playing the first track by outputting "Playing name" where name is the first track name.

You can add a new item to an array using +=, for example: tracks += track

make sure the answer or the language code is in kotlin


answer it asap

Answers

Using the computational knowledge in JAVA it is possible to write a code that uses the functions to make a Music player app.

Writting the code in JAVA

import React, { Component,useRef, setStatus, status } from 'react';

import ‘./Song.css';

import song1 from "./music/song1.mp3";

import song2 from "./music/song2.mp3"

import song3 from "./music/song3.mp3"

import song4 from "./music/song4.mp3"

export default function MusicPlayer() {

   const data = [

           />

       </li>

   );

};

See more about JAVA at brainly.com/question/12975450

#SPJ1

Explain how advanced analytics (e.g., Machine learning) helps the threat life cycle management. State the stage of the threat life cycle management where advanced analytics is mostly needed in your explanation.

Answers

Advanced analytics may help to simulate the behavior of an infectious disease in epidemiology.

What is Advanced analytics?

Advanced analytics refers to the computation strategies that are able to manage a huge number of parameters to model a situation.

Advanced analytics is very useful in epidemiology because this approach allows for predicting the transmissible behavior of infectious diseases caused by pathogenic microorganisms (e.g., bacteria) and viruses.

In conclusion, Advanced analytics may help to simulate the behavior of an infectious disease in epidemiology.

Learn more about Advanced analytics here:

https://brainly.com/question/15007647

#SPJ1

Jazmine just finished setting up an operating system that's designed to work between a VM guest OS and computer hardware. What is the name of the operating system Jazmine is setting up?

Client
Host
Hybrid
Network

Answers

The name of the operating system Jazmine is setting up is option A: Client  operating system.

What  is the operating system running in virtual machines?

A guest or client operating system is known to be the operating system that one can installed on a virtual machine (VM) or on any kind of partitioned disk.

Hence, the name of the operating system Jazmine is setting up is option A: Client  operating system.

Learn more about operating system from

https://brainly.com/question/22811693

#SPJ1

Answer:

Host

Explanation:

I got it right on the test.

printer runs out of paper during the printing job. A signal is sent back to the computer to stop temporarily its current task. Name this type of signal

Answers

The signal is sent back to the computer to stop temporarily its current task is known as interrupt signal.

What is  interrupt signal?

An interrupt is known to be a form of a signal emitted by any kind of device such as printer that is said to be attached to a computer or from a program that is seen in the computer.

Hence, The signal is sent back to the computer to stop temporarily its current task is known as interrupt signal.

Learn more about printer from

https://brainly.com/question/145385

#SPJ1

Explain the unique reason why assember language is perfered to high level language

Answers

The unique reason why assembler language is preferred to high level language is that  It is said to be memory efficient and it is one that requires less memory.

Why is assembly language better than other kinds of high level?

It implies means that the programs that one uses to write via the use of high-level languages can be run easily on any processor that is known to be independent of its type.

Note that it is one that has a lot of  better accuracy and an assembly language is one that carries out a lot of better functions than any high-level language, in all.

Note also that the advantages of assembly language over high-level language is in terms of its Performance and accuracy as it is better than high-level language.

Hence, The unique reason why assembler language is preferred to high level language is that  It is said to be memory efficient and it is one that requires less memory.

Learn more about assembler language from

https://brainly.com/question/13171889

#SPJ1

what is the factor of 200

Answers

The Factors of 200 are: 1, 2, 4, 5, 8, 10, 20, 25, 40, 50, 100 and 200.

What are factors of a number?

In math, the factors of any number or algebraic expression is known to be that number that can be able to divides another number or expression in an even way.

Therefore, The Factors of 200 are: 1, 2, 4, 5, 8, 10, 20, 25, 40, 50, 100 and 200 because they can divide 200 evenly without reminder.

Learn more about Number factor from

https://brainly.com/question/2058395

#SPJ1

flowgorithm based on pseudocode to ask user an age it then displays message if the user's age is greater than 65 (retirement age). It also allows the user to end the program by entering a specific number, a sentinel value and looping structure

Answers

A sample pseudocode that can be used to perform the operation is:

Print "What is your age?"

If Age > 65

Print "You are of retirement age"

If input= "5"

Terminate

Else

End

What is a Pseudocode?

This refers to the plain language that makes a description of the sequence of steps used to execute a program.

Hence, we can see that based on the user request, there is the sample pseudocode that would ask for input, if the age is greater than 65, a print function would be used and the program can be terminated if a specific number (5) is put.

Read more about pseudocodes here:

https://brainly.com/question/24735155

#SPJ1

3.12.1: LAB: Instrument information (derived classes)

class Instrument:
def __init__(self, name, manufacturer, year_built, cost):
self.name = name
self.manufacturer = manufacturer
self.year_built = year_built
self.cost = cost

def print_info(self):
print('Instrument Information:')
print(' Name:', self.name)
print(' Manufacturer:', self.manufacturer)
print(' Year built:', self.year_built)
print(' Cost:', self.cost)


class StringInstrument(Instrument):
# TODO: Define constructor with attributes:
# name, manufacturer, year_built, cost, num_strings, num_frets


if __name__ == "__main__":
instrument_name = input()
manufacturer_name = input()
year_built = int(input())
cost = int(input())
string_instrument_name = input()
string_manufacturer = input()
string_year_built = int(input())
string_cost = int(input())
num_strings = int(input())
num_frets = int(input())

my_instrument = Instrument(instrument_name, manufacturer_name, year_built, cost)
my_string_instrument = StringInstrument(string_instrument_name, string_manufacturer, string_year_built, string_cost, num_strings, num_frets)

my_instrument.print_info()
my_string_instrument.print_info()

print(' Number of strings:', my_string_instrument.num_strings)
print(' Number of frets:', my_string_instrument.num_frets)

** I REALLY NEED HELP**

Answers

definitiva year vuelta const

Pretend you work with a lot of different documents in an internship with a software development company. What kinds of actions can you take to keep your files, folder names, folder structure, and yourself organized? Be thorough in your answer.

Answers

In the case above, I will categories my files and also my folders using as names and structures. The file name will help me to know identify the file in  fast time.

What is file structure?

A file structure is known to be the ways or combination of depiction for data in files.

Hence, In the case above, I will categories my files and also my folders using as names and structures. The file name will help me to know identify the file in  fast time.

Learn more about files from

https://brainly.com/question/1178560

#SPJ1

Array Basics pls help

Answers

Answer:

import java.util.Random;

class Main {

 static int[] createRandomArray(int nrElements) {

   Random rd = new Random();

   int[] arr = new int[nrElements];

   for (int i = 0; i < arr.length; i++) {

     arr[i] = rd.nextInt(1000);

   }

   return arr;

 }

 static void printArray(int[] arr) {

   for (int i = 0; i < arr.length; i++) {

     System.out.println(arr[i]);

   }

 }

 public static void main(String[] args) {

   int[] arr = createRandomArray(5);

   printArray(arr);

 }

}

Explanation:

I've separated the array creation and print loop into separate class methods. They are marked as static, so you don't have to instantiate an object of this class type.

Meaning of U.R.L in computer​

Answers

Uniform Resource Locator. It is the unique address that each webpage has, which makes it easier for us to access them

Uniform Resource Locator, or URL, is an Internet resource address and a reference to that resource.

A URL has two main components:

Protocol identifier: For the URL http://example.c0m, the protocol identifier is http.Resource name: For the URL http://example.c0m, the resource name is example.com.

The resource name and the protocol identification are separated from one another by a colon and two forward slashes. The name of the protocol to be used to get the resource is indicated by the protocol identifier. The Hypertext Transfer Protocol (HTTP), which is frequently used to serve up hypertext content, is utilized in the sample. One of the many different protocols used to access various kinds of online content is HTTP. The File Transfer Protocol (FTP), Gopher, File, and News are further protocols.

The full address to the resource is contained in the resource name. However, for many protocols, including HTTP, the resource name comprises one or more of the following elements. The structure of the resource name totally depends on the protocol being used.

Host Name: The name of the computer that houses the resource.

Filename: The computer's pathname for the file.

the port number to which you should connect (typically optional).

Referencing a named anchor inside a resource that often designates a particular spot within a file (typically optional).

Many protocols only need the host name and filename, while others allow for the port number and reference. For instance, the resource name for an HTTP URL must include the host name of the network server, the filename of the content on that server, a port number, and a reference.

Every problem has a solution, Now
what is the solution of this?

Answers

A. I put my solution in the comments

I need help with my solution

Answers

Answer: B. a = 14 and b = 3

Explanation:

Let's work through the expressions one-by-one:

The first 2 lines create 2 varaibles, a and b, with values of 2 and 7, respectively.

The next line assigns a to the product of a and b.

a * b = 2 * 7 = 14, so the new value of a is 14.

The last line assigns the remainder of b divided by the difference of a and 10.

a - 10 is 14 - 10 which is 4.

The value of b is 7 due to the second expression. 7 % 4 is 3 as 4 goes into 7 once with 3 left over. This value of three is assigned to b.

After all the expressions, the values of the variables are as follows: a = 14 and b = 3.

given 2,4,3,-1 as input, what is the output for the following program:total_product = 1 user_value = int(input()) while user_value > 0: total_product = total_product * user_value user_value = int(input()) print('Product:', total_product, end='')

Answers

The python program for any of the given values is as written below.

How to run a Program in Python?

We are told to use input for the python program as;

2, 4, 3, -1

Now, the python program using 2 as user value and 1 as total product gives us the program as;

total_product = 1

user_value = (input(1)) #while user_value > 0:

total_product = total_product * user_value

user_value = (input(2))

print('Product:2', total_product, end='2')

Read more about Python Program at; https://brainly.com/question/26497128

#SPJ1

Research the design basis threat (DBT) in terms of Cybersecurity for an organization of your choice. Discuss what the Cybersecurity objectives should be for that organization and what those objectives should address?

Answers

A Design Basis Threat (DBT) is known to be a characteristics of any given or potential insider and also those of external adversaries, that may try to have or gain unauthorized removal or sabotage, against a physical protection system that was set up designed and evaluated.

What are Cybersecurity objectives?

Cybersecurity aims are:

To protect computer system, To protect networks, To protect software programs from such cyber attacks.

Note that a lot of digital attacks are targeted at accessing, changing, or deleting sensitive information as well as others.

Learn more about IT from

https://brainly.com/question/1276995

#SPJ1

One of the principles of
✔ netiquette
includes protecting
✔ privacy
by taking care of the information you send others by e-mail.
By practicing
✔ professional communication
skills in e-mails, you can create a strong professional reputation for yourself.
Sending e-mails is not always the best way to
✔ build professional relationships
. Sometimes having a
conversation
✔ in person
is more efficient and friendly.

for who ever needs it on brainly. ur welcome

Answers

The fill up for the missing words are:

netiquetteprivacy professional build professional relationships. in person

Check more about netiquette below;

What is netiquette?

Netiquette is known to be a term that was said to be made-up  of word gotten from net and etiquette.

Note that  Netiquette often tells about the rules of conduct needed for respectful and appropriate communication that one can use on the internet.

Hence, The fill up for the missing words are:

netiquetteprivacy professional build professional relationships. in person

See full question below

One of the principles of X good communication-------------------- includes protecting

----------------- by taking care of the information you send others by e-mail.

By practicing --------------------------skills in e-mails, you can create a strong professional reputation for yourself.

Sending e-mails is not always the best way to --------------------Sometimes having a

conversation--------------------- is more efficient and friendly.

Learn more about from

https://brainly.com/question/942794

#SPJ1

the size of a newly created folder on the computer is

Answers

Answer:

2,345,696 bytes

Explanation:

in order to figure out how many bytes a newly created folder is right click the folder and go into properties

Discuss the key benefits organisations like Amazon gain after adopting Cloud Computing.

Answers

Answer:

larger access to storage and the ability to send and receive information at improved speeds

I am trying to sum up a set of data based on 2 criteria (needs to have "green" in column E, and "January 2020" in collum A). Column D is the set of numbers I need to add. I am getting "Error, array arguments in SUMIFS are of different size.

Answers

In summing the set of data using the 2 criteria, the best way to do it is to avoid the error is that On cell G16, one should type the formula "=SUMIF(G2:G11, ">=40")".

What is the code about?

In computing, Formulas seen  In Microsoft Excel are known to be employed to be able to generate some outcome or values to any cell.

Note that the formula need to begin with an equal sign. The formula that is written above has the function "SUMIF" that helps to give the  sum of numeric values as a result of the condition.

Learn more about  SUMIFS from

https://brainly.com/question/19595606

#SPJ1

Record the issue of 4,000 shares of $5 par value common stock for $35000 cash

Answers

The outcome are:

Cash =  $35,000Common Stock $ 5 Par Value = $20,000Paid-in Capital in exc of par val CS =  $15,000

What is the shares about?

Shares are known to be the units of measurement for any equity ownership that is found in a corporation.

Note that in the case above, since the Corporation were said to have issued 4000 shares. the cash they have is $35,000.

To get the Paid-in Capital in exc of par val CS =  

Cash ($35,000) - Common Stock $ 5 Par Value ($20,000)

=   $15,000

Therefore, The outcome are:

Cash =  $35,000Common Stock $ 5 Par Value = $20,000Paid-in Capital in exc of par val CS =  $15,000

See the question below

A Corporation issued 4000 shares of $5 par value common stock for $35,000

Learn more about shares  from

https://brainly.com/question/25818989

#SPJ1

What does this function do?
def guess_function(guess_List):
if len(guess_List) == 1:
return guess_List[0]
else:
return guess_List [0] + guess_function(guess_List[1:])

Answers

Answer:

below

Explanation:

It checks guess_List and if it only has 1 item, returns the first item as the function. Otherwise, it returns the first item added to the items from the second item onwards in guess_List.

Other Questions
Blank______ levels of withdrawal behavior are closely correlated with a Blank______ degree of organizational commitment. For f(x) = 2x + 1 and g(x) = x - 7, find (f+ g)(x). a. Use the properties of right triangles and AABC to prove the Law of Sines.b. Find the length of BC, rounded to the nearest tenth of a unit.In your final answer for parts A and B, Include all of the necessary steps and calculations. Property taxes are a major source of revenue for: Multiple Choice state governments. local governments. the federal government. both local governments and school districts. school districts. According to the lock-and-key model, the active site of an enzyme has a/an ____________________ shape while the induced-fit model describes the active site as a/an_______________________ shape. Scrapper Elevator Company has 20 sales representatives who sell its product throughout the United States and Canada. The number of units sold last month by each representative is listed below. Assume these sales figures to be the population values. 2 3 2 3 3 4 2 4 3 2 2 7 3 4 5 3 3 3 3 5 since you have been influenced by the argument of "outsiders coming in." The underlined portion of this excerpt from King's "Letter from a Birmingham Jail" is an example of a(n) How do the troubles of the british working-class baby boomers affect the developing rock ethos? Dabney v. State3. Summarize the Special Court of Appeals arguments that Dabney could not commit attempted fourth-degree burglary. Calculate x for each of the following right angled triangles.Give your answer as a simplified surd (or integer). Which of the following steps of victim assessment would you generally do first after arriving at the scene of an accident PLEASE HELP ME I NEED THIS DONE RN Find a quadratic polynomial each with the given numbers as the sum and product of its zeroesrespectively: (a) 3 /2 and 5 Can someone help me please The following data depicts the relationship between the Amount spent on insurance and the amount of inventory loss.X = Amt spent on protectionY = Amt of inventory lost or stolenThe least squared regression line : Y = 86.43 38.47 XHow much will the amount of loss in inventory be if the amount of protection is $6.39? Leave your answer to 2 decimal places. Consider the function shown on the graph.45-129.63-13.999-6--9-12--15-(3, 0)23(8, 15)((7,0)5 6 7 8 9XWhich function does the graph represent?Of(x) = (x+3)(x + 7)Of(x)=(x-3)(x-7)Of(x)=3(x-3)(x-7)Of(x)= 11(x+3)(x + 7) Condoms are less effective against the spread of? What is the solution to the inequality?A. y > 32B. y > 2C. y < 2D. y < 32 pls i need help on this quick pls Jazmine just finished setting up an operating system that's designed to work between a VM guest OS and computer hardware. What is the name of the operating system Jazmine is setting up? Client Host Hybrid Network