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
Marat540 [252]
3 years ago
8

Consider the following line of code: price= input(Please enter the price: ") What would be the next line in your code that will

allow you to store the price as a decimal number price price(decimal) price float(price) price decimal(price) price int(price
Computers and Technology
1 answer:
hodyreva [135]3 years ago
6 0

Answer:

price float(price)

Explanation:

There are four basic type of data type use in the programming to declare the

variable.

1. int:  it is used for integer values.

2. float:  it is used for decimal values.

3. char:  it is used for character values

4. Boolean: it is used for true or false.

in the question, the one option contain the data type float (price float(price)). So, it store the value in decimal.

price int(price):  it store the value in integer.

price decimal(price):  it is wrong declaration of variable. their is no data type in the programming which name is decimal.

price price(decimal):  it is wrong declaration of variable. their is no data type in the programming which name is price.

You might be interested in
Explain the difference between using the int type and the double type for numbers.
MaRussiya [10]
They have different semantics, <span>addition to having different semantics from </span>double<span>, </span>int<span> arithmetic is generally faster, and the smaller size (32 bits vs. 64 bits) leads to more efficient use of caches and data transfer bandwidth.....
Did That Help You In Anyway </span>
6 0
4 years ago
How are a members details be checked and verified when they return to log back in to the website ?
aksik [14]

Answer:

When you sign into a website, you have to enter a password and username most of the time, which will allow the website to know that you have checked in and it is you, who is using your account.

6 0
3 years ago
What level of damage to national security can you reasonably expect top secret information to cause if disclosed?.
Vinvika [58]

Exceptionally grave damage is the level of damage to national security can you reasonably expect top secret information to cause if disclosed.

When it is conceivable that information's unauthorized exposure could result in exceptionally severe harm to the country's security, it may be given the "Top Secret" classification. The strictest caution should be exercised while applying this classification.

Armed hostilities against the United States or its allies, a breakdown in international relations that has a significant impact on national security, the compromise of crucial national defense plans or sophisticated cryptologic and communications intelligence systems, the disclosure of sensitive intelligence operations, or the disclosure of scientific or technological advancements that have a significant impact on national security are examples of "exceptionally grave damage."

The level of harm to national security that can be expected from the disclosure of top-secret material is exceptionally grave damage.

To know more about exceptionally grave damage click here:

brainly.com/question/2802958

#SPJ4

3 0
1 year ago
To remedy the lack of procedural functionality in SQL, and to provide some standardization within the many vendor offerings, the
MrRa [10]

Answer:

The correct answer is True.

Explanation:

The SQL: 1999 standard calls a Boolean type, but many commercial SQL servers (Oracle Database, IBM DB2) do not support it as a valid column type, a variable type or to allow it in the result set. Microsoft SQL Server is one of the few database systems that correctly supports Boolean type values using its "BIT" data type. Each 8 BIT fields occupy a full byte of disk space. MySQL interprets "BOOLEAN" as a synonym for TINYINT (8-bit signed integer). PostgreSQL provides a Boolean type of standard compliance.

5 0
3 years ago
a ____ is a horizontal or vertical bar that appears when the contents of an area may not be visible completely on the screen.
pav-90 [236]
The answer is a Scroll bar, the description fits perfectly because you need to move it to see more of the content you are viewing, and it wont be completely. when the item does appear completely on screen then the bar is relatively large and there is  no need for scrolling, however the opposite occurs during when you cannot see all of it.
5 0
4 years ago
Other questions:
  • Differences between iphone 6 and 6s
    6·1 answer
  • .In Linux what command sequence do we enter to stop a program?
    11·1 answer
  • Escribe, en los siguientes cuadros, los conceptos que correspondan
    10·1 answer
  • What do space stations, artificial organs, supersonic aircraft, and "high-tech”
    10·1 answer
  • 1000base-t is a standard for achieving throughputs ____ times faster than fast ethernet over copper cable.
    8·1 answer
  • How to change the size of my document in cs6?
    13·1 answer
  • Write a function findWithinThreshold that identifies the elements of a given array that are inside a threshold value. Takes the
    13·1 answer
  • List three social implications of the wider range of piracy​
    15·1 answer
  • Which statement is true concerning user-defined data types?
    10·1 answer
  • 192.132.44.154<br> yes because why not
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!