Which line of code will allow the user to enter their current temperature to the nearest tenth of a degree?Group of answer choicesnum1 = input(""What is your temperature?"")num1 = int(input(""What is your temperature?"")num1 =float(input(""What is your temperature?""))1num = print(""What is your temperature?)

Answers

Answer 1

In programming we have different data types and in this question two data types was specified, Int and float, the only data type that can receive input to the nearest tenth of degree is float, hence, float(input(""What is your temperature?""))

Data types are use as place holders, we have the primitive and non-primitive data types

Example of data types are FloatArrayIntegerDoubleString

Learn more about data types at

https://brainly.com/question/179886


Related Questions

A restaurant recorded the ages of customers on two separate days. You are going to write a program to compare the number of customers in their forties (ages 40 to 49).

What is the missing line of code?

customerAges = [33, 23, 11, 44, 35, 25, 35, 68, 51]

count40s = 0
for item in customerAges:
_____;
count40s = count40s + 1
print("Forties:", count40s)


if 40 > item > 49

if 40 < item < 49

if 40 <= item <= 49:

if 40 >= item >= 49

Answers

Answer:

if 40>= item >=49

Explanation:

Katie is writing a print statement but nothing is printing. Which of the following should she check for?

A.
Make sure the print statement is surrounded by parentheses.

B.
Make sure the word print is in all capital letters.

C.
Make sure there is a colon after the print statement.

D.
Make sure the next line after the print statement is indented.

Answers

Answer:

A.

Explanation:

Parenthesis are required to be around the data in a print function. All the letters in a  print statement should be lowercase. A colon isn't required after a print statement. Indentation is not needed for a print statement because there are no colons after the statement instead. Here's an example where you would need to indent the line:

def randNum( x, y ):

    x = input("Enter number: ")

    y = input("Enter number: ")

    return x * y

Here's an example of a print statement:

print("My name is Sullen.")

pa help please I need help
10 points :'(
nonsense report:
1 heart​

Answers

Answer:

√ 1. Cellphone

Product Description:

A cellphone is any portable telephone that uses cellular network technology to make and receive calls.

When you empty the trash on your computer what happens?

Answers

It goes to your recently deleted after deleting from your recently deleted a file is saved from that image or png for legal use only

It is saved from that image or png for lawful usage only after being erased from your recently deleted folder.

What is recently deleted folder?

Content that users delete from their accounts now automatically goes to Recently Deleted. The content may then be permanently erased. Or, if users change their minds, they can recover the information from the Recently Deleted folder and add it back to their profile.

The Recently Deleted folder is where files go after you delete them from iCloud Drive or On My [device]. Your files are deleted from Recently Deleted after 30 days. You have 30 days to get a file back if you decide against it or unintentionally erase it.

Photos and movies that you've moved to your Recently Deleted album can be permanently deleted files remain there for 30 days. View here for more information on removing photos.

Thus, It is saved from that image or png for lawful usage

For more information about recently deleted folder, click here:

https://brainly.com/question/1445705

#SPJ5

can’t be opened because apple cannot check it for malicious software.

Answers

Answer:

try to reset  your computer.

Explanation:

Database management packages based on the _______________ model can link data elements from various tables to provide information to users.

Answers

Answer:

Database management packages based on the relational model can link data elements from various tables to provide information to users.

Which of the following is an example of an incremented sequence?

A.
1, 2, 3, 4

B.
4, 3, 2, 1

C.
North, South, East, West

D.
A, B, C, D

Answers

Answer:

A

Explanation:

When a sequence number is genrated, the sequence is incremented independent of the transaction committing or rolling back.

_____ is the dynamic storage allocation algorithm that results in the largest leftover hole in memory.

Answers

Answer: Worst fit

Explanation:

Farmer John has recently acquired NN new cows (3≤N≤5×105)(3≤N≤5×105), each of whose breed is either Guernsey or Holstein.The cows are currently standing in a line, and Farmer John wants take a photo of every sequence of three or more consecutive cows. However, he doesn't want to take a photo in which there is exactly one cow whose breed is Guernsey or exactly one cow whose breed is Holstein --- he reckons this singular cow would feel isolated and self-conscious. After taking a photo of every sequence of three or more cows, he throws out all of these so-called "lonely" photos, in which there is exactly one Guernsey or exactly one Holstein.

Answers

//Note: This program was compiled using turboc compiler. If you are using gcc or any other compiler, then you have to modify the code slightly
#include
#include
int main()
{
int field[110][110]; //FIELD SIZE
int N, i, j;
char dir[50]; //TO REPRESENT THE DIRECTIONS OF 50 COWS
int cow[50][1][2]; //TO STORE THE X,Y COORDINATES OF 50 COWS
int infinity[50]; //TO IDENTIFY, HOW MANY COWS VALUES WILL BE INFINITY AND VICE VERSA
int count[50]; //TO COUNT AMOUNT OF GRASS EATEN BY EVERY COW
int cont = 1; //FLAG VARIABLE, INITIALLY KEEP IT 1.

//CLEAR THE SCREEN
clrscr();

//MARK ALL FIELD POSITIONS AS 1, INDICATING THERE IS GRASS TO EAT
for (i=0; i<110; i++)
for (j=0; j<110; j++)
field[i][j]=1;

//FOR ALL COWS SET INFINITY AS 1 AND COUNT AS 0. I.E WE ASSUME THAT
//EVERY COW WILL EAT INFINITE GRASS AND INITIALLY IT HAS NOT EATEN ANYTHING
//SO COUNT IS SET AS 0
for (i=0 ; i<50 ; i++){
infinity[i] = 1;
count[i] = 0;
}

//READ N, I.E NO. OF COWS
scanf("%d", &N);

//FOR EACH COW, READ THE DIRECTION AND X, Y COORDINATES
for( i=0 ; i fflush(stdin);
scanf("%c%d%d", &dir[i], &cow[i][0][0], &cow[i][0][1]);
}

//REPEAT UNTIL CONT==1
while( cont==1 ){

//FOR EVERY COW CHECK ITS DIRECTION
for( i=0 ; i //IF THE COW IS FACING NORTH DIRECTION
if( dir[i] == 'N'){
//IF THE RESPECTIVE COW'S Y COORDINATE IS LESS THAN 109
if( cow[i][0][1] < 109 )
//IF THERE IS GRASS IN THE PARTICULAR LOCATION,
if( field[cow[i][0][0]][cow[i][0][1]] == 1 ){
//LET THE COW MOVES TO THE NEXT LOCATION, BY INCREMENTING THE VALUE ASSOCIATED WITHN Y-COORDINATE
cow[i][0][1]++;
//INCREMENT THE COUNT VALUE FOR THE RESPECTIVE COW
count[i]++;
}
else
//IF THERE IS NO GRASS IN THAT LOCATION, THEN MAKE THE INFINITY VALUE CORRESPONDING TO THIS COW AS 0
//COW STOPS
infinity[i] = 0;
}

//IF THE COW IS FACING EAST DIRECTION
if( dir[i] == 'E'){
//IF THE RESPECTIVE COW'S X COORDINATE POS IS LESS THAN 109
if( cow[i][0][0] < 109 )
//IF THERE IS GRASS IN THAT PARTICULAR LOCATION
if( field[cow[i][0][0]][cow[i][0][1]] == 1 ){
//LET THE COW MOVE ON TO THE NEXT LOCATION
cow[i][0][0]++;
//INCREMENT THE COUNT FOR THE RESPECTIVE COW
count[i]++;
}
else
//IF THERE IS NO GRASS THEN MAKE INFINTY AS 0 FOR THE PARTICULAR COW.
//THE COW STOPS
infinity[i] = 0;
}
}

/*IN THE PREVIOUS TWO LOOPS WE MADE THE COW TO MOVE TO THE NEXT LOCATION WITHOUT
EATING THE GRASS, BUT ACTUALLY THE COW SHOULD EAT THE GRASS AND MOVE. THE BELOW
LOOP ENSURES THAT. THIS TASK WAS SEPARTED, TO ALLLOW TO TWO COWS TO SHARE THE SAME
POSITION FOR EATING.*/
for( i=0 ; i //IF THE COW IS FACING NORTH
if( dir[i] == 'N'){
//IF CURRENT Y POSITION IS <= 109
if( cow[i][0][1] <= 109 )
//IF IN THE PREVIOUS Y POSITION, THERE IS GRASS
if( field[cow[i][0][0]][cow[i][0][1]-1] == 1 )
//REMOVE (EAT) THE GRASS
field[cow[i][0][0]][cow[i][0][1]-1]=0;
}
//IF THE COW IS FACING EAST
if( dir[i] == 'E'){
//IF CURRENT X POS IS <= 109
if( cow[i][0][0] <= 109 )
//IF IN THE PREVIOUS X POS, THERE IS GRASS
if( field[cow[i][0][0]][cow[i][0][1]] == 1 )
//REMOVE (EAT) THE GRASS
field[cow[i][0][0]-1][cow[i][0][1]]=0;
}
}

/*ASSUME THAT ALL THE COW STOPS EATING AS THERE IS NO GRASS IN THE CURRENT CELL
OR THE COW HAS REACHED THE LAST LOCATION*/
cont = 0;

//REPEAT FOR EVERY COW
for( i=0 ; i //IF THE COW IS FACING NORTH
if( dir[i] == 'N'){
//IF THE COW HAS NOT REACHED LAST Y LOC OR NOT STOPPED EATING
if( cow[i][0][1] < 109 && field[cow[i][0][0]][cow[i][0][1]] !=0 )
cont = 1; //MAKE COUNT AS 1, THE WHILE LOOP SHOULD REPEAT
}
//IF THE COW IS FACING EAST
if( dir[i] == 'E'){
//IF THE COW HAS NOT REACHED LAST X LOC OR NOT STOPPED EATING
if( cow[i][0][0] < 109 && field[cow[i][0][0]][cow[i][0][1]] !=0)
cont = 1; //MAKE COUNT AS 1
}
}
}

//DISPLAY THE OUTPUT
for( i=0 ; i {
//IF THE INFINITY VALUE OF THE RESPECTIVE COW IS 1, THEN DUSPLAY AS INFINITY
if( infinity[i] == 1 )
printf("\nInfinity");
else //ELSE DISPLAY THE RESPECTIVE COUNT VALUE
printf("\n%d", count[i]);
}

getch();
return 0;
}


Which type of list should be used if the items in the list need to be in a specific order?

Answers

Answer:

1.

2.

3.

Explanation:

Depending on the situation, any of them could be used to indicate a specific order. But for most cases, such as with scientific procedures, it's best to use the most traditional numbering system of 1. 2. 3...

The Internet Assigned Numbers Authority (IANA) delegates Internet resources to the Regional Internet Registries (RIRs) who then:

Answers

Answer:

management, distribution, and registration of public IP addresses within their respective assigned regions.

An animation of a person standing with their arms extended out to their sides. There are 3 dimensional boxes around the torso of the person showing how to create a shirt. What animation process does the photo above help you visualize? a. Morphing c. Motion capture b. Building 3 dimensional models d. Animation rendering Please select the best answer from the choices provided A B C D

Answers

Answer:

c

Explanation:

write the feature of ms-dos ?​

Answers

Answer:

Here you go

Explanation:

Features of MS Word :

Home

This has options like font colour, font size, font style, alignment, bullets, line spacing, etc. All the basic elements which one may need to edit their document is available under the Home option.

Insert

Tables, shapes, images, charts, graphs, header, footer, page number, etc. can all be entered in the document. They are included in the “Insert” category.

Design

The template or the design in which you want your document to be created can be selected under the Design tab. Choosing an appropriate tab will enhance the appearance of your document.

Page Layout

Under the Page Layout tab comes options like margins, orientation, columns, lines, indentation, spacing, etc.  

References

This tab is the most useful for those who are creating a thesis or writing books or lengthy documents. Options like citation, footnote, table of contents, caption, bibliography, etc. can be found under this tab.

Review

Spell check, grammar, Thesaurus, word count, language, translation, comments, etc. can all be tracked under the review tab. This acts as an advantage for those who get their documents reviewed on MS Word.

Source: https://byjus.com/govt-exams/microsoft-word/

____________________ are protocols used by routers to make path determination choices and to share those choices with other routers.

Answers

Answer: Routing protocols

Explanation:

Discuss the ways you can perform to prevent your computer/device and its data/contents from being stolen. Define two-facto authentication.

Answers

Answer:

is a security that needs two types of identification to access what your trying to enter.

Explanation:

Ex= to enter email, you first need to put in password, then verify by phone call that u need to enter.

12. In Justify the text is aligned both to the right and to the left margins, adding extra space between words as necessary *
Maybe
False
True

Answers

[tex]\blue{<><><><><><><><><><><><><}[/tex]

[tex]\green{<><><><><><><><><><><><><}[/tex]

Answer:

False

Explanation:

Because, aligment the tex are aligned in the centre of the page.

[tex]\pink{<><><><><><><><><><><><><}[/tex]

[tex]\red{<><><><><><><><><><><><><}[/tex]

False
:)))))))))))))))))

16. A/An __________ is operated on the principle that the dying have special needs and wants that hospital personnel are too busy to handle.

Answers

Answer:

Hospices

Explanation:

A/An Hospices is operated on the principle that the dying have special needs and wants that hospital personnel are too busy to handle.

Answer:

a / an hospice is operated on the principle that the dying have special needs and wants that hospital personel are too busy to handle..

Explanation:

answer:: HOSPICE

Fill in the blank to complete the sentence.
Binary Digit 1 0 0 0 0 0 1 1
Decimal Equivalent of Place Value 128 ? 32 16 8 4 2 1
The missing place value is
.

Answers

Answer:

ANSWER:62

Explanation:i dont know just trust me

The base of every positional numeral system is ten, which is expressed as 10 in the decimal numeral system (also known as base-ten). It is the numeral system that modern cultures utilize the most frequently.

What Binary Digit Decimal Equivalent of Place Value?

In binary numbers, place values rise by a factor of 2, as opposed to decimal numbers, where place values rise by factors of ten. The symbol for a binary number is X2. Think about the binary number, 10112 as an example. The place value of the rightmost digit is 120, while the place value of the leftmost digit is 123.

Digits are used to fill in the spaces on the place value chart in the decimal system. Binary, on the other hand, is restricted to 0 and 1, therefore we can only utilize 0 or 1 with each location. In a binary place value chart, the binary number 1001 is positioned to the right.

Therefore, Decimal Equivalent of Place Value 128 64 32 16 8 4 2 1.

Learn more about Binary Digit here:

https://brainly.com/question/20849670

#SPJ2

If you know that a file for which you are searching starts with the letters MSP, you can type ____ as the search term.

Answers

Map I think it is the answer

Explain how analog computers are used to process data generated by ongoing physical process​

Answers

Hi hi :)

Analog computers store data in a continuous form of physical quantities and perform calculations with the help of measures.

Okay bye :)

A(n) ________ is the portion of virus code that is unique to a particular computer virus. A) virus signature B) encryptio

Answers

Answer:

A) virus signature

Explanation:

Antivirus databases contain what are called signatures, a virus signature is a continuous sequence of bytes that is common for a certain malware sample.

--

Encryption is a way of scrambling data so that only authorized parties can understand the information.

when demonstrating 2022 altima’s parking assistance, what steering feature should you mention when pointing out how easy the vehicle is to steer at low speeds?

Answers

Based on automobile technology, when demonstrating 2022 Altima's parking assistance, the steering feature one should mention when pointing how easy the vehicle is to steer at speed is "the Cruise Control w/Steering Wheel Controls."

What is Cruise Control w/Steering Wheel Controls?

The Cruise Control w/Steering Wheel Controls allow the driver or the user to adjust the car's speed to the present rate, either lower or higher.

The Cruise Control feature assists in providing additional time and distance between the car and another one in front when parking or highway.

Hence, in this case, it is concluded that the correct is "the Cruise Control w/Steering Wheel Controls."

Learn more about the same parking assistance in an automobile here: https://brainly.com/question/4447914

Is this statement true or false? Title text boxes on every slide must be the same format. True false.

Answers

false as you can adjust the boxes to your liking even add more if needed

The deliberate misuse of computers and networks, _____ use malicious code to modify the normal operations of a computer or network.

Answers

Answer:

Virusus

Explanation:

-

Hope that helps

Which type of relationship is responsible for teaching you values and how to communicate?
a.
online
b.
friend
c.
colleague
d.
family


Please select the best answer from the choices provided

A
B
C
D

Answers

answer:

its either b or d

explanation:

Using PowerPoint or Impress guarantees that your presentation will do which of the following? stay on schedule and end on time be clear and understood keep your audience engaged and excited none of the above.

Answers

Answer: it will be none of the above

Explanation: i just took this test. the key word is "guarantees" so yeah.

Using PowerPoint or Impress guarantees that your presentation will: D. none of the above.

A presentation can be defined as an act of speaking formally to an audience, in order to explain an idea, piece of work, project, or product, especially with the aid of multimedia resources or samples.

Generally, a speaker can use either PowerPoint or Impress during the process of a presentation to share vital information with his or her audience.

However, none of the aforementioned software applications can guarantee that your presentation will:

Stay on schedule and end on time.Be clear and understood.Keep your audience engaged and excited.

Read more: https://brainly.com/question/10657795

if a granola bar has 5.7 grams of protein in it how many centigrams of protein does it contain?

A. 57

B. 0.57

C. 570

D. 5,700 ​

Answers

The answer is 570 hope it helps

why is computer economics important?​

Answers

Answer:

Explanation:

Advances in computing power and artificial intelligence will allow economists to test and develop many economic theories which have previously been very difficult to empirically test. In macroeconomics, we often rely on historical data to estimate market responses to recessions and other shocks in the economy since conducting experiments is at best unwieldy, unethical, and often impossible. Building AI which acts kind of human in market conditions and which is capable of adaptive strategies may allow researchers to simulate markets on a macro scale. Attempts have already been made in online video games which have virtual economies.

Write a function float Average(int, int) that finds the mean, and then write a main program that inputs two numbers from the user repeatedly until the user enter “0”. You need to call the function and display the mean of two numbers in the main. C++ language only.

Answers

The program illustrates the use of functions.

Functions are used to group related code segments that act as one, when called.

The program in C++ where comments are used to explain each line is as follows:

#include <iostream>

using namespace std;

//This defines the Average function

float Average(int num1, int num2){

   //This returns the average of the numbers

   return (num1+num2)/2.0;

}

//The main method begins here

int main(){

   //This declares the numbers as integer

   int num1, num2;

   //This gets input for both numbers

   cin>>num1; cin>>num2;

   //This is repeated until the user enters 0

   while(num1!=0 || num2 !=0){

       //This calls the average function, and prints the average

       cout<<Average(num1,num2)<<'\n';

       //This gets input for both numbers, again

       cin>>num1; cin>>num2;

   }

   return 0;

}

Read more about similar programs at:

https://brainly.com/question/17378192

Fill in the blank: Every database has its own formatting, which can cause the data to seem inconsistent. Data analysts use the _____ tool to create a clean and consistent visual appearance for their spreadsheets.

Answers

The tool used by data analysts to create a clean and consistent visual appearance for their spreadsheets is called clear formats.

A database refers to an organized or structured collection of data that is typically stored on a computer system and it can be accessed in various ways. Also, each database has a unique formatting and this may result in data inconsistency.

In Computer science, a clean data is essential in obtaining the following:

Data consistencyData integrityReliable solutions and decisions.

Furthermore, spreadsheets are designed and developed with all kinds of tools that can be used to produce a clean data that are consistent and reliable for analysis.

In this context, clear formats is a kind of tool that is used by data analysts to create a clean and consistent visual appearance for their spreadsheets.

Read more on database here: https://brainly.com/question/15334693

Other Questions
What's is biosynthesis Which of the following is a characteristic of the plasma membrane?To protect the cell's internal contents, water is the only substance that can freely pass through the plasma membrane.Only small molecules are allowed into and out of the cell by the plasma membrane.Its selective permeability allows certain molecules, such as oxygen and carbon dioxide, to flow freely in and out of the cell while controlling the flow of other molecules.The structure of the phospholipids forms a stiff protective outer shell around the cell's internal contents. 18) Both x and y coordinates of a point in quadrant 1 are negative. Quantitative noninvasive techniques are needed for routinely assessing symptoms of peripheral neuropathies, such as carpal tunnel syndrome (CTS). An article reported on a test that involved sensing a tiny gap in an otherwise smooth surface by probing with a finger; this functionally resembles many work-related tactile activities, such as detecting scratches or surface defects. When finger probing was not allowed, the sample average gap detection threshold for m = 8 normal subjects was 1.71 mm, and the sample standard deviation was .53; for n = 10 CTS subjects, the sample mean and sample standard deviation were 2.53 and .87, respectively. Required:a. Does this data suggest that the true average gap detection threshold for CTS subjects exceeds that for normal subjects? b. State and test the relevant hypotheses using a significance level of 0.01. 1+12+3+583+2/38+1+1+4=? Which of the following can a grocery store change in the long run?A. the number of shelves, employees, and parking spaces in the parking lotB. the type of grocery carts, magazine racks, and produce displaysC. the store location, sign on the storefront, and advertising on the mediaD. all of the above How to do this question Which term refers to the use of expressions to check consistency in relation to other fields in the same record?O data validationO record validationO input maskO validation text Write one body paragraph for each of the following topics. 1. Do you agree or disagree with the following statement? Eating a balanced diet is the most important factor for a healthy life. Use specific reasons and examples to support your answer. What moral dilemma does this excerpt express? Do number three plz triangle theorem ; (b) A uniform beam 150cm long weighs 3.5kg andsupported on knife-edges at its ends. The beamsupports a weight 7kg at a distance 30cm fromone end. Find the reactions of the supports. In a survey of high school children, students were asked how a girl who tried to join the wrestling team would be treated. A few expressed concerns that she would be teased, but most thought she would be accepted. On the other hand, students were asked how a boy who tried to join sewing classes would be treated. Nearly all students said that he would be the target of ridicule. This is an example of _____. Question 1. If a fiber weight 3.0 g and composite specimen weighing 4.g. The composite specimen weighs 2.0 g in water. If the specific gravity of the fiber and matrix is 2.4 and 1.3, respectively, find the 1. Theoretical density of composite 2. Experimental density 3. Void fraction Determine the tax basis of the business asset acquired in each of the following cases: Required: a. Firm L paid $5,950 cash plus $416 sales tax plus a $500 installation charge for a satellite dish.b. TTP Inc. acquired inventory in exchange for 800 shares of TTP common stock listed on Nasdaq at $212 per share on the date of exchange.c. Firm Q acquired machinery in exchange for architectural drawings rendered by Firms Qs junior partner. The partner spent 20 hours on the drawings, and his hourly billing rate is $350.d. Company C purchased equipment by paying $2,000 cash at date of purchase and financing the $18,000 balance of the price under a three-year deferred payment plan. Determine a scalar c so that the angle between a = i + cj and b = i + j is 45. PLEASE HELP!!!!!!!! Read the sentence from The Pit and the Pendulum and identify the transitional word.After that, the sound of the inquisitorial voices seemed merged in one dreamy indeterminate hum.a.After thatc.ofb.ind.seemed answer this now please :) Graph the compound inequality on the number line. x > 7 or x < -4