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
andreyandreev [35.5K]
3 years ago
10

The following pseudocode describes how a bookstore computes the price of an order from the total price and the number of the boo

ks that were ordered. Step 1: read the total book price and the number of books. Step 2: Compute the tax (7.5% of the total book price). Step 3: Compute the shipping charge ($2 per book). Step 4: The price of the order is the sum of the total book price, the tax and the shipping charge. Step 5: Print the price of the order. Translate this psuedocode into a C Program. Please write only the main body of the program
Computers and Technology
1 answer:
ICE Princess25 [194]3 years ago
8 0

Answer:

float bookExamplePrice = 15.25;

float bookTax = 7.5;

float bookShippingPrice = 2.0;

float Test = bookExamplePrice / 100;

float Tax = Test * bookTax;

float FullPrice = Tax + bookExamplePrice + bookShippingPrice;

// I don't know how to remove the numbers after the first two decimals.

// I tested this program. It works!

// The text after the two slashes don't run when you compile them.

printf("Price: $%.6f\n",FullPrice);

Explanation:

You might be interested in
You are a web designer, and a client wants you to create a website for their new business. Discuss what you would talk about wit
spin [16.1K]

Answer:

1. for what purpose?

2. the pattern design of web

3. what the client wants to add in the web

4. his contact number and email

5. the logo of the business

6. talk about pricing  

Explanation:

7 0
3 years ago
package dataStructures; /** * Class OrderedLinkedList. * * This class functions as a linked list, but ensures items are stored i
valkas [14]

Answer:

?

Explanation:

8 0
4 years ago
British mathematician Alan M. Turing wrote a number of papers on theoretical computer science. In one paper, written in 1936 bef
9966 [12]

Answer: D. Turing conceived the structure of a programmable computer.

Explanation: The passage describes how Alan M. Turing described the theoretical aspect of a programmable computer. There is no reference to a physical machine or Turing working on an actual (physical) computer.

The Turing machine, although it does sound like a physical computer was an abstract idea, conceived in mathematical form of what a programmable machine would be like. Alan Turing is considered one of the founding fathers of theoretical computer science.

4 0
4 years ago
The composer pictured above is best known for taking older forms and styles and redefining them in modern ways. Antonin Dvorak w
vfiekz [6]

Answer:

The composer pictured above is Johannes Brahms (1833-1897), who were born in the German city of Hamburg. Several musicians from his time and also later composers consider him as a traditionalist but an innovator too. Some his work inspired the great composer Arnold Schoenberg.

He met Antonin Dvorak in 1877. The Czech composer dedicated his String Quartet, Op. 44 to Brahms.

His Hungarian Dances are a total of 21 dance tunes inspired by Hungarian themes. This compositions are among the most known works by Brahms.

Explanation:

7 0
4 years ago
ohn would like to move from the suburbs into the city, but the rent in the city is very high. John has found an apartment he rea
Lana71 [14]
Ohn should find a roommate to split the rent.
5 0
4 years ago
Other questions:
  • For this programming assignment you will implement the Naive Bayes algorithm from scratch and the functions to evaluate it with
    11·1 answer
  • A recent antivirus scan on a server detected a Trojan. A technician removed the Trojan, but a security administrator expressed c
    6·1 answer
  • During slide show mode, hitting the B key will do which of these things?
    14·2 answers
  • The most fundamental components of storage that users interact with are the:
    11·1 answer
  • Kyle owns a growing delivery business. He would like to buy two more vans but first he needs to figure out related costs and his
    10·2 answers
  • PLZ sub to me on you tube at RESURGENTZ I would love to reach 100 subs by the end of this year have a great day. I GIVE BRAINLIE
    14·2 answers
  • Which option is used in Access to locate and retrieve data that may be present in multiple database tables within the database?
    10·2 answers
  • Which type of computer is the fastest?
    7·1 answer
  • What relationship do MP3s and MP3 players have with video files?
    11·1 answer
  • 7.12 LAB: Even/odd values in a list
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!