Create a variable ‘temp’ and assign the value in Celsius. Display the message ‘It’s extremely hot day today!’ if the temperature is greater than 40oC otherwise, displays ‘It’s not too hot!

Answers

Answer 1

Answer:

This code is written using C++

Comments are used for explanatory purpose

Program starts here

#include<iostream>

using namespace std;

int main() {

int temp;

//Prompt user for input

cout<<"Enter temperature (in Celcius): ";

//Check if input is acceptable

while(!(cin>>temp)) {

cout << "That was invalid. Enter a valid digit: "<<endl;

cin.clear(); // reset the failed input

cin.ignore(123,'\n');//Discard previous input

}

//Check if temp is greater than 40

if(temp>40) {

cout<<"It's extremely hot day today!";

}

else{//If otherwise

cout<<"It's not too hot!";

}

return 0;

}

//End of Program


Related Questions

Why are proper ergonomics important for learning? Students can socialize more when their work area is comfortable. Students can study better if their work area is comfortable. Students are able to take longer breaks when their work area is functional. Students experience more physical strain if their work area is functional.

Answers

Answer:

The correct answer to the following question will be Option B (Students can research easier if their environment is convenient).

Explanation:

Ergonomics defined as the study including its type of job individuals do, the world in which they job as well as the resources people utilize to perform the function.School operation, because this is not a working circumstance, is always at the discretion of "cause and effect," such that, there might not be a standard that satisfies the food safety performance indicators of learning spaces, while adequate ergonomics seems to be very necessary since students will learn easier if their working environment was indeed pleasant.

The other three choices are not related to the given scenario. So that option B seems to be the appropriate choice.

Answer:

B

Explanation:

edge 2020

What does choosing Slide Sorter view do?
Select the correct answer.
X
fills the entire computer screen with a slide
allows you to select slide layouts
displays miniature versions of all the
presentation's slides​

Answers

Answer:

The last two line i.e "displays miniature versions of all the  presentation's slides​  " is the correct answer to the given question .

Explanation:

The main objective of the slide sorter is showing the miniature versions of all the slides though user can quickly push the slides and organize the slides in well mannered by moving the slides . The Slide Sorter display gave the viewers to thumbnail the overview of the slides.

The slide sorter making the presentation effective by organizing and sorting the slide .All the other option are not correct for the  Slide Sorter view that's why these are incorrect option .

Who developed the first commercially
successful DBMS called Information
Management system.

Answers

Charles Bacheman invented the DBMS

Which of the following operation is not performed by a mouse 1) left click , middle click , right click, double click​

Answers

Answer:

middle click

Explanation:

hope it helps

Answer:

middle click

Explanation:

because in the middle it has a scroll

When checking for a no-start concern, you notice that an engine has no spark. Technician A says to turn on the ignition (engine off) and, using a DMM, find out how much battery voltage is available at the negative terminal of the ignition coil. Technician B says the DMM reading should fluctuate, indicating that the primary coil current is being turned on and off. Who is correct?


A. Neither Technician A nor B

B. Both Technicians A and B

C. Technician B

D. Technician A

Answers

Answer:

Option(C) is the correct answer to the given question.

Explanation:

Since overall the On-Board Diagnostics of the level 2 the computer systems need to evaluate the cause of the engine failures .The malfunction significantly increases in the fuel consumption, so that we can detecting the error code in the vehicle.

If we starting the engine as well as by using the DMM, we'll  see how much battery voltage it is at the negative ignition coil node.If the spark module is faulty and no ignition coils can fire so all the engines are working that's why all the other option are incorrect .

which menu would most likely allow you to choose a font A.file B.Edit C.format D.insert​

Answers

Answer:

D

Explanation:

We are required to find the menu would most likely allow you to choose a font.

The menu which would most likely allow you to choose a font is "format"

File menu: It is used to create new document or update existing document.

Edit menu: It is used to edit documents. It functions includes: copy, paste, select, find, cut, undo, select all, replace etc.

Format menu: This is the menu that controls the fonts in your documents. It is used apply borders, paragraphs, background, bullet points, numbers, columns. etc.

Insert menu: This is used to place date, pictures, graph, page number, symbol etc in the documents.

Therefore, the menu which would most likely allow you to choose a font is "format"

Read more:

https://brainly.com/question/19566768

First Person Who Answers Fast As Possible Will Be Marked As Brainiest ​

Answers

Answer:

Save a database object Ctrl+S or Shift+F12

Open an existing database   Ctrl+O or Ctrl+F12

To quit MS Access ALT+F4

Explanation:

2 ways to make your computer work faster ( please help asap )

Answers

Answer:

clean up space or reboot ur computer or delete unwanted apps and files .

Explanation:

The hexadecimal number system uses alphabets A to F to represent values_ to _

Answers

Answer:

they represent values 10 to 15

they represent 10 to 15

Name atleast two advantages of using models in science

Answers

When students are engaged in scientific modeling, they are able to notice patterns and develop and revise representations that become useful models to predict and explain, making their own scientific knowledge stronger, helping them to think critically, and helping them know more about the nature of science.

features of action files​

Answers

Answer and explanation:

An ".action" file is a file written in Xcode and used by the Automator program, whose function is to create automations in macOS.  Action files contains specific actions that can be combined with other actions to create an automated process.

This type of file is used to automate tasks in macOS, usually with Finder (file manager) or another program.  

Action files are especially useful for repetitive tasks, such as creating sequential batch folders, editing images, or deleting files.

Which method will successfully launch the Spelling and/or Grammar Checker dialog box?

Click the Review tab on the ribbon; in the Proofing group, click on the Spelling & Grammar button.
Press the F7 key on your keyboard.
Right-click a word that is marked with a spelling or grammar error, and select Spelling or Grammar from the menu list.
All the above statements are correct.

Answers

Answer:all of the above

Explanation:

I got it correct

The correct is D. All the above statements are correct which All the above statements are correct.

To check your spelling and grammar, select the Review tab and then Spelling & Grammar.

What program is used in the word to check the spelling?

Spell checking is a unique function in Microsoft Word that lets you check your work for grammatical and spelling errors. A software program that detects misspelled words in a document is what spell check essentially is.

Grammar checkers are a great tool for people who aren't writers or are very technical. These apps help users become more fluent in the English language by pointing out their flaws. Your writing will be reviewed by Grammar Checker Tools to ensure that it is accurate and error-free.

Select Spelling & Grammar from the Review tab. In the event that Word discovers a potential error, the Spelling & Grammar dialog box will launch with red text for spelling mistakes and green text for grammatical mistakes.

Thus, the ideal selection is option D.

Learn more about the Spelling and/or Grammar Checker here:

https://brainly.com/question/16798012

#SPJ2

what type of data can we enter in a spreadsheet?

Answers

Answer:

Spreadsheet data is information that is stored in any spreadsheet program such as Excel or Google Sheets. Data stored in cells in a worksheet can be used in calculations, displayed in graphs, or sorted and filtered to find specific information. hope that helps love!

In a spreadsheet, we can enter numbers, text, dates and times, formulas and functions, Boolean values, currency and financial data, hyperlinks, and images/objects

Numbers: This includes whole numbers (integers) and numbers with decimal points (floating point numbers). Spreadsheets typically support mathematical calculations and formulas involving numeric data.

Text: You can enter plain text, such as names, descriptions, labels, or any other textual information.

Dates and Times: Spreadsheets often provide specific formatting options for entering and manipulating dates and times.

Formulas and Functions: Spreadsheets allow you to enter formulas and functions that perform calculations or manipulate data based on specified rules.

Boolean Values: Spreadsheets often support Boolean values (true/false) for logical operations and conditional formatting.

Currency and Financial Data: Spreadsheets often provide formatting options and built-in functions for dealing with currency and financial calculations.

Hyperlinks: You can insert hyperlinks in spreadsheets to link to external resources or other cells within the spreadsheet.

Images and Objects: Depending on the spreadsheet software, you may be able to insert images, charts, graphs, and other objects to enhance the visual representation of your data.

To learn more on Spreadsheet click:

https://brainly.com/question/10509036

#SPJ6

what is the purpose of the print area feature​

Answers

Answer: The Print Area function in Excel allows you to print part of a spreadsheet rather than the full sheet

Explanation:

Answer:

C- Selecting specific cells and ranges to print

Explanation: ;)

What is the HIPAA Privacy rule, and why does it affect IT professionals?
a law that prevents doctors from keeping patient records, which protects the medical rights of IT professionals
a law that explains how passwords should be protected, which must be followed by IT professionals
a law that mandates that medical records be kept electronically, which will be managed by IT professionals
a law that protects patient records, which states they can only be viewed by certified IT professionals

Answers

Answer:

a law that protects patient records, which states they can only be viewed by certified IT professionals

Explanation:

The HIPAA Privacy rule address disclosure of individuals’ health information by health care providers, medical insurers who transmits health information in electronic form.

The Privacy Rule protects all individuals health information held or transmitted  in any form or media, such as electronic, paper, or oral. Privacy Rule is to defines the situation in which an individual’s protected heath information may be disclosed except if the Privacy Rule permits or the individual authorizes in writing

Answer:

a law that mandates that medical records be kept electronically, which will be managed by IT professionals

Explanation:

C IS RIGHT ON edg 2021

Which economic philosopher you believe has the most positive effect on the United States today


Answers

Answer:

Adam Smith, the Father of Economics, has the most positive effect in the US today because he is also known for creating the concept of gross domestic product (GDP) and for his theory of compensating wage differentials.

Answer:

John Maynard Keynes (1883-1946)  

History pros every so often imply John Maynard Keynes as the "goliath showcase examiner." The six-foot-six Brit recognized a lectureship at Cambridge that was eventually bolstered by Alfred Marshall, whose deftly and demand twists were the explanation behind a great deal of Keynes' work. He is particularly connected with supporting government going through and cash related course of action to mitigate the unpleasant effects of money related downturns, tragedies and impacts. During World War I, Keynes went after the credit terms among Britain and its accomplices, and was a specialist at the congruity game plan set apart in Versailles. (To scrutinize continuously about his speculations, see "Understanding Supply-Side Economics" and "Specifying Monetary Policy.") Keynes was almost gotten out before long the budgetary trade crash of 1929, anyway he had the alternative to change his fortune. In 1936, Keynes formed his unique work, the "General Theory of Employment, Interest and Money," which maintained government mediation to propel usage and contributing – and to facilitate the overall Great Depression that was fuming by then ("spend out of wretchedness," as intellectuals like to call it). This work has been regarded as the dispatch of present day macroeconomics. (To see more, see "Macroeconomic Analysis.")

A mechanic uses a screw driver to install a ¼-20 UNC bolt into a mechanical brace. What is the mechanical advantage of the system? What is the resistance force if the effort force is 5 lb.

Answers

Answer:

15.7 ; 78.5

Explanation:

Mechanical advantage of a screw = Circumference / pitch

Circumference = pi × d

Where :

pi = 3.142, D = diameter

Therefore ;

Circumference = 3.142 × (1/4) = 0.785 in

Pitch = 1/TPI

TPI (thread per inch) = 20

Pitch = 1/ 20 = 0.05

Mechanical advantage = 0.785 / 0.05 = 15.7

Resistance force if effort force is 5lb

Mechanical advantage = Fr / Fe

Fe = effort force, Fr = resistance force

15.7 = Fr / 5

Fr = 15.7 × 5 = 78.5 lbs

30 POINTS!!!

Select the correct answer.

Which term is a gestalt concept?

A. balance

B. governance

C. continuance

D. dominance

E. preference

Answers

i think it’s C : continuance

To answer the research question "How am I going to find the information I need on the tople?" the best thing Georgia should
do first is
get on her computer to search the topic
make a list of the books she could use.
ask her teacher for specific suggestions.
make a list of relevant sources to check out

Answers

Answer:

The correct option is D)  

Explanation:

To get information about a research topic the first thing to do is make a list of relevant sources.

Georgias sources would depend on the type of research she has been asked to conduct.

If it's primary research, she would collect information from:

Her own experienceHer own observationthe Information she gathers personally from other people

If it is  secondary research, she can look at

books (hard copy, e-copy)journals (online, offline)online (blogs, videos, websites etc)

Whilst looking online, it is important to stick to authoritative sources as it is possible for anyone to publish anything online.

Examples of reliable sources are:

Journals from Industry AssociationsBureaus of StatisticsGlobal Research CompaniesHigher Institutions e.t.c.

Cheers!

Answer:

D

Explanation:

Edge 2021

Why is the no video recording in iPhone camera

Answers

Answer:

it really does depend on what iphone you have but go to Settings > Privacy > Camera and disable the last app that was allowed access to the phone's Camera. check the camera app again and you should see the video recording access.

hope this helped!

Answer:

Wait is this a genuine question im not sure how to answer

Explanation:

the formula =sum(b2:b10 finds the?

Answers

Answer:

sum (addition) of all the numbers in cells b2 to b10.

Explanation:

(b) Explain what is meant by a MAC address.
T​

Answers

Answer:

A MAC ADDRESS is a hardware identification number that uniquely identifies each device on a network.

Explanation:

Select the correct answer.

Florence is switching jobs. Her previous company worked on Java. The new company works on .NET. Which educational option can help Florence cope with the new programming language at the new job?

A. bachelor’s degree

B. high school degree

C. external training

D. masters degree

Answers

Answer:

I GO FOR OPTION D

Explanation:

BECAUSE THE OPPORTUNITIES ARE MORE FOR MASTER DEGREE THAN COMPARED TO OTHERS..AND EASY TO GET A JOB ACCORDING TO ME..AND MASTER DEGREE AT HIGH LEVEL UNIVERSITY MAKES MORE EASY TO GET A JOB..

HOPE YOU LIKE THAT

A. Design an algorithm that takes 2 integers input from users in 2 variables, without using any other variable swap the values. Design its flow chart as well.

Answers

Answer:

The algorithm is as follows

Start Accept Input1 and Input2 Input1 = Input1 + Input2 Input2= Input1- Input2 Input1= Input1- Input2 Print Input1 Print Input2 Stop

See attachment for Flowchart

Line 1 and 8 of the algorithm starts and stops the algorithm

Line 2 accepts the two integer variables (input1 and input2)

Take for instance input1 = 5 and input2 = 4

Line 3 increases input1 by input2

At this point, Input1 = 5 + 4 = 9

Line 4 subtracts input2 from input1 and saves it in input2

i.e. Input2 = 9 - 4 = 5

Note that, the value of input2 has changed to the initial value of Input1

Line 5 subtracts input2 from input1 and saves it in input1

i.e. Input1 = 9 - 5 = 4

Note that, the value of input1 has changed to the initial value of Input2

Line 6 and 7 prints the new values of input1 and input2

The flowchart does the same thing as the algorithm; the only difference is that it uses lines and shapes to depict flow of program

The flowchart was designed using Microsoft Office Word

What is 540 to the nearest TENTH?​

Answers

Answer:

500

Explanation:

no explanation, sorry

What is basic statement made up of​

Answers

Answer:

The answer is variables, constants, expressions and funcions.

A BASIC program is composed of statements made up of variables, constants, expressions, and functions. BASIC statements can contain arithmetic, relational, and logical expressions. These expressions are formed by combining specific operators with variables, constants, or BASIC intrinsic functions. Hope it helps

What does tone of voice communicate?
O A. The sentence structure of a discussion
B. Nuances in meaning, including emotions
C. The time of day when people are talking to one another
D. Intentions expected from the audience

Answers

i’m pretty sure it’s B?

Answer:

B. Nuances in meaning, including emotions

Explanation:

Suppose you are an ad-serving company and you maintain a log of cookie data for ads you serve to the Web pages for a particular vendor (say Amazon). a. How can you use this data to determine which are the best ads? b. How can you use this data to determine which are the best ad formats? c. How could you records of past ads and ad clicks to determine which ads to send to a given IP address? d. How could you use this data to determine how well the technique you used in your answer to part c was working? e. How could you use this data to determine that a given IP address is used by more than one person? f. How does having this data give you a competitive advantage vis-à-vis other ad-serving companies?

Answers

Answer:

A

Explanation:

thethe more you have attached the more people are going to know your product so that it's going to be a long process which people can introduce to their friends

30 POINTS!!

Type the correct answer in each box. Spell all words correctly.

How are paragraphs distinguished in a website?

Paragraphs are separated using two styles: by ____ or by a ____ line space.

Answers

Answer:

paragraph or by a break line space

Answer:

Paragraphs are separated using two styles: by indentation or by a blank line space.

Explanation:

trust me

Kair needs to change the brightness and contrast on a image she has inserted into a word document

Answers

Answer:

Kair should click the image.Right click then select "Format Picture."

Then select "picture corrections"

Answer:

adjust

Explanation:

Other Questions
Assume Deb eats three 150-gram bags of potato chips each day. Use the USDA food database to calculate Debs calorie consumption and the number of grams of protein, carbohydrates (by difference), and the total fat that she eats. You may use any brand of potato chips in the database, but state the brand in your answer. A person stands on a scale in an elevator. As the elevator starts, the scale has a constant reading of 592 N. As the elevator later stops, the scale reading is 400 N. Assume the magnitude of the acceleration is the same during starting and stopping. (a) Determine the weight of the person. N (b) Determine the person's mass. kg (c) Determine the magnitude of acceleration of the elevator. m/s2 Last question! I need help with showing my work! I already have the answer in the attached image below, thanks! what is an adjective Calcium is an important mineral in the body and one that is tightly regulated in the blood with the help of several hormones. Calcium status plays an important role in the health of bones and a variety of other metabolic functions. Therefore, it is essential to understand where to find calcium in food and what factors affect bioavailability and absorption.Match the words in the left column to the appropriate blanks in the sentences on the right. Note that some terms will remain unused.WORD BANK:calciumbioavailabilityosteoclastshypercalcemiaparathyroid hormone (PTH)oxalatesbone densityosteoblastsBLANKS:1. Over 99% of the body's Over 99%of the body's ____ is in the bones and teeth.2. When blood calcium is low, the parathyroid glands stimulate the production of ______.3. ______ refers to the compactness and strength of bones.4. _______ break down bone when calcium levels are low.5. The ________ of calcium can depend on a person's age and calcium needs.6. Too much calcium in the blood, or ________ , can lead to impaired kidneys and calcium deposits in the body.7. Certain foods like spinach are high in ________, which can interfere with absorption of certain minerals. please define menstruation Whats the falling action of the story Cinderella? Milady lady de winter is compared to a...DaggerWild, evil animal Light birdSapphire ring CAN I HAVE AN ANSWER PLEASE?Jasmine is traveling at 45 miles per hour. At that same rate, which of the following proportions could be used to find how long it will take her to travel 135 miles?1. 45 miles / 1 hour = n hours/135 miles 2. 45 miles/n hours = 135 miles/1 hour3. 45 miles /1 hour = n miles /135 hours4. 45 miles/1 hour = 135 miles/n hours How can TickTok be addicting that it will end up bad??? Convert -3(x+2)^2-10 into standard form. Please help me I Need to know is the Narrator a third-person omniscient in ''The house of Mapuhi" I need proof in order to get the right answer You should start an exercise regimen before seeing a health professional for advice. Please select the best answer from the choices provided. T FYou should start an exercise regimen before seeing a health professional for advice. Please select the best answer from the choices provided. T F The colonists and the British fought asa team during the French and IndianWar against whom?A. FrenchB. Other British colonistsC. No one, they fought each otherD. Spanish The chess clubs of two schools consist of, respectively, 8 and 9 players. Four members from each club are randomly chosen to participate in a contest between the two schools. The chosen players from one team are then randomly paired with those from the other team, and each pairing plays a game of chess. Suppose that Rebecca and her sister Elise are on the chess clubs at different schools. What is the probability that Which expression is equivalent to the given expression? (3m-4)^3(3m^5) What is the answer to this, I need an explanation please ASAP 2 PointsWhich item is an example of a secondary source?A. A photograph of Franklin D. RooseveltO B. An online encyclopedia article about Franklin D. RooseveltO C. A letter from Franklin D. RooseveltO D. A recording of a speech by Franklin D. Roosevelt I need help asap. For this one I am not sure if it is correct. What change(s) should Sylvia make to the equation to find the value of t in the above scenario?