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
Kaylis [27]
2 years ago
7

A person buys a product from XYZ shop. You have to input quantity of a product and price of one product. Provide 10 percent disc

ount on bill, display bill before discount, amount discounted and bill after discount. Write pseudo code algorithm to process the requirement.
Computers and Technology
1 answer:
mariarad [96]2 years ago
4 0

Answer:

The pseudocode algorithm is as follows:

  1. Start
  2. Input Quantity
  3. Input Price
  4. Bill = Quantity * Price
  5. Discount = 0.10 * Bill
  6. Display "Before Discount: "+bill
  7. Display "Discount: "+discount
  8. Display "After Discount: "+(bill - discount)
  9. Stop

Explanation:

This begins the algorithm

Start

First, get input for quantity

Input Quantity

Then, get input for price

Input Price

Calculate the total bill (before discount)

Bill = Quantity * Price

Calculate discount

Discount = 0.10 * Bill

Print the total bill (before discount)

Display "Before Discount: "+bill

Print the discounted amount

Display "Discount: "+discount

Print the total bill (after discount)

Display "After Discount: "+(bill - discount)

End of algorithm

Stop

You might be interested in
When citing an Internet source:__________. a. it is ok to omit quotation marks if you change some words in the original sentence
ludmilkaskok [199]

Answer:

c. it is ok to omit quotation marks for a paraphrase of the source.

Explanation:

Plagiarism can be defined as the act of representing or using an author's work, ideas, thoughts, language, or expressions without their consent, acknowledgement or authorization.

In order to avoid plagiarism, it is very important and necessary to reference or cite the source of the informations and data.

However, when citing an Internet source, it is ok to omit quotation marks for a paraphrase of the source because the idea, thoughts or intellectual work as being rephrased.

3 0
3 years ago
What will be a fundamental aspect of future games?
padilas [110]
D. product- oriented :))
6 0
3 years ago
Read 2 more answers
How would you create a loop that never ends?
34kurt

Answer:

the answer is d use the forever block

Explanation:

I took the test and I got it right but sometimes it is different for others

8 0
2 years ago
I have a question about my HP Laptop
vekshin1
What exactly is your question?
7 0
3 years ago
10. In about 100 words Describe two or three social networking apps that could use a smartphone GPS capability be sure to make c
AlekseyPX

Answer:

Check the explanation

Explanation:

Almost all smartphone devices have global positioning satellite (GPS) service capabilities in them, which mean that apps will be able to combine the phone user's location with the available retail outlets and services to build better mobile business opportunities. For instance, some applications can navigate the user to a particular business locations (such as movie theaters, restaurants, or a nearby auto repair facilities) based on the user's present location.

App like twitter can use the GPS capability to tailor yhier user feeds and timelines with digital contents that are intresting to users in that location.

amazon can advertise based on the need of consumers in a particular location.

Google also tailor thier adword and adsense advert based on the location of the user.

6 0
3 years ago
Other questions:
  • How do you design video games
    5·1 answer
  • When an IRET instruction isexecuted, what action takes place?
    13·1 answer
  • The exercise instructions here are LONG -- please read them all carefully. If you see an internal scrollbar to the right of thes
    8·1 answer
  • A slideshow that accompanies an oral report is known as what?
    6·1 answer
  • Jamal is creating a presentation for a report on engineers. He wants to use a template. How can he access different options for
    14·1 answer
  • He made me so angry when he didn’t let me make my point that I had to stalk after him.
    5·2 answers
  • What is one disadvantage of transmitting personal data using digital signals?
    15·2 answers
  • There u go i did thereeeeeeeeeeeeeeeeeeeeeee
    13·2 answers
  • In this exercise we will practice using loops to handle collections/containers. Your job is to write a program that asks the use
    6·1 answer
  • System development life cycle
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!