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
weeeeeb [17]
2 years ago
14

Design a program that will ask the user to enter the amount of a purchase. The program

Computers and Technology
1 answer:
LUCKY_DIMON [66]2 years ago
4 0

The program is a sequential program, and they do not require loops and conditions

<h3>The program design in Python</h3>

The complete program written in Python is as follows:

purchaseAmount = float(input("Amount: "))

stateSalesTax = 0.05 * purchaseAmount

provincialSalesTax = 0.02 * purchaseAmount

print("Amount:",purchaseAmount)

print("State sales tax:",stateSalesTax)

print("Provincial sales tax:",provincialSalesTax)

print("Total sales tax:",(stateSalesTax + provincialSalesTax))

print("Total sales:",(purchaseAmount + stateSalesTax + provincialSalesTax))

Read more about Python programs at:

brainly.com/question/26497128

#SPJ1

You might be interested in
What are the 4-bit patterns used to represent each of the characters in the string "1301"? Only represent the characters between
Alla [95]

Explanation:

The string "1301" can be converted into numbers by using the ASCII characters set.

1. Decimal ASCII

1=49, 3=51, 0=48, 1=49

Without space

"1301" = 49 51 48 49

with space included

"1 3 0 1" = 49 32 51 32 48 32 49

(white space is represented by 32 in Decimal ASCII)

2. Hexadecimal ASCII

1=31, 3=33, 0=30, 1=31

Without space

"1301" = 31 33 30 31

with space included

"1 3 0 1"= 31 20 33 20 30 20 31

(white space is represented by 20 in hexadecimal ASCII)

The magnitude can be found by traditional decimal to binary conversion (Divide by 2 until we are left with remainder 0 or 1) and sign can be represented by adding most significant bit (MSB) 0 for positive and 1 for negative.

A. -27

Magnitude: 00011011

Since the sign is negative add 1 to the MSB

which becomes 100011011

B. 140

Magnitude: 10001100

Since the sign is positive add 0 to the MSB

which becomes 010001100

C. -99

Magnitude: 01100011

Since the sign is negative add 1 to the MSB

which becomes 101100011

D. 46

Magnitude: 00101110

Since the sign is positive add 0 to the MSB

which becomes 000101110

7 0
3 years ago
Fill in the blanks:
Temka [501]

Answer:

Explanation:

Since this is a fill in the blanks question, I will rewrite the sentences and make the answers bold and underlined for ease of access. Hope it helps.

1. A worksheet is made up of <u>cells</u> organized in a grid of rows and columns.

2. A <u>Cell Address</u> describes the location of a cell based on its column and row location.

3. A(n) <u>Absolute reference</u> refers to a fixed cell location that never changes.

4. Rows are typically represented by <u>Numbers</u> and contain data for individual records.

5. The <u>Format</u> of a worksheet defines its appearance.

I hope this answered your question. If you have any more questions feel free to ask away at Brainly.

7 0
3 years ago
You're setting up some VMs to test an application you're considering making available to employees of the small company you work
Alex777 [14]

Answer:

b. Client Hyper-V

Explanation:

5 0
3 years ago
If you are working in a word-processing program and need to learn about its features, the best place to get assistants is from t
Hoochie [10]

Answer:

A

Explanation:

plz mark me brainlies

7 0
3 years ago
Read 2 more answers
You are a database administrator. Chantelle comes to you asking for help on how to access all the data in one row of the databas
Novosadov [1.4K]
I believe the answers would be A and B. Because you have to fulfill  Chantelle's wishes and you have to access their data. Which I am guessing would require a database backup.  

I hope this helps. 
7 0
3 years ago
Other questions:
  • What is the purpose of look up tables in spreadsheet software apex
    13·1 answer
  • Under the Right to Know Rule, employers need to include information on which one of the following in a written and complete haza
    5·1 answer
  • Pls help........
    15·1 answer
  • _______ memory allows data to be both read from and written to easily and rapidly.
    7·1 answer
  • Edhesive 1.7 code practice question 1
    8·1 answer
  • Write a program that uses a custom function to return the cost of purchasing an item, possibly in multiple quantities. The item
    14·1 answer
  • If you convinced your teacher to give you an extension on an assignment, what would this situation be an example of? OA. General
    8·1 answer
  • An organization has hired a new remote workforce. Many new employees are reporting that they are unable to access the shared net
    11·1 answer
  • Ayuda necesito 7 objetos que se utilizan en la vida diaria
    8·1 answer
  • 5 disadvantage of assembly<br> level language​
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!