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
Impact of information technology in the society​
GarryVolchara [31]

Answer:

led to exposure of dangerous things

3 0
2 years ago
What is Function of print statement?
trasher [3.6K]

Answer:

To print the statement in the output.

Explanation:

Im a student of C4 and I know this one its In C programming.

6 0
3 years ago
Read 2 more answers
What is the recommended solution to configure this automated behavior? UC has a requirement that an opportunity should have a fi
Dmitry_Shevchenko [17]
The answer will need to be workflow.
8 0
3 years ago
Type which type of interference we will install after installing operating system​
pentagon [3]

Answer:

There are different kinds of operating systems: such as Windows, Linux and Mac OS

There are also different versions of these operating systems, e.g. Windows 7, 8 and 10

Operating systems can be used with different user interfaces (UI): text user interfaces (TUI) and graphical user interfaces (GUI) as examples

Graphical user interfaces have many similarities in different operating systems: such as the start menu, desktop etc.

When you can recognize the typical parts of each operating system’s user interface, you will mostly be able to use both Windows and Linux as well as e.g. Mac OS.

THE ROLE OF OPERATING SYSTEM IN THE COMPUTER

An operating system (OS) is a set of programs which ensures the interoperability of the hardware and software in your computer. The operating system enables, among other things,

the identification and activation of devices connected to the computer,

the installation and use of programs, and

the handling of files.

8 0
3 years ago
Dynamic disk storage provides the flexibility to logically organize disk space across one or more disk drives.
zhuklara [117]
<span>Dynamic disk storage provides the flexibility to logically organize disk space across one or more disk drives. 
a. True 
b. False</span>
3 0
3 years ago
Other questions:
  • Two electronics students are discussing static electricity and electric current. Student A says that a basic property of static
    12·1 answer
  • Universal Containers is setting up an external Business Intelligence (BI) system and wants to extract 1,000,000 Contact records.
    11·1 answer
  • What is an advantage of sharing documents in PDF format instead of Word format?
    6·2 answers
  • How to write a program that prompts the user to input two POSITIVE numbers — a dividend (numerator) and a divisor (denominator).
    13·1 answer
  • The most popular way for hackers to take over hosts today is ________.
    15·2 answers
  • All users on the network have antivirus software; however, several users report that they have what an administrator described a
    10·1 answer
  • Computers store temporary Internet files in the Recycle Bin. These files take up space and slow down a computer. Which tool can
    10·1 answer
  • Hypercompetition implies that any architecture must be designed with maximum flexibility and _____ to ensure it can handle the i
    6·1 answer
  • A specialized output device for producing charts, maps, and very high-quality drawings is
    5·1 answer
  • What would be a social networking page background for Sigmund Freud?
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!