A person buys a product from XYZ shop. You have to input quantity of a product and price of one product. Provide 10 percent discount on bill, display bill before discount, amount discounted and bill after discount. Write pseudo code algorithm to process the requirement.

Answers

Answer 1

Answer:

The pseudocode algorithm is as follows:

StartInput QuantityInput PriceBill = Quantity * PriceDiscount = 0.10 * BillDisplay "Before Discount: "+billDisplay "Discount: "+discountDisplay "After Discount: "+(bill - discount)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


Related Questions

Different computer applications and their uses.

Answers

Answer:

Application Software Type Examples

Word processing software MS Word, WordPad and Notepad

Database software Oracle, MS Access etc

Spreadsheet software Apple Numbers, Microsoft Excel

Multimedia software Real Player, Media Player

Presentation Software Microsoft Power Point, Keynotes

Explanation:

Employees at Morning Buzz Coff ee Shop have been told they’ll get a bonus if they bring in enough pounds of recyclable newspapers. Th ey want a program to calculate the amount they need to bring in each day to make this total, based on the total number of pounds to be collected and the number of days they’ll be bringing in newspapers. Th e program should ask for these amounts and calculate how many pounds they need to bring in each day to make the total in that number of days. Th ey plan to run the program several times until they can find a number of pounds per day that seems reasonable. Using pseudocode, develop an algorithm to solve this problem. Include standard documentation and comments, and save your algorithm in a file named recyclingCalculator.txt in Notepad.

write this well, and add comments

Answers

223 AR 15's carbon 9's they all on me

There are different ways too write a code. Check more about this code below?

What is this code about?

The fires thing to do is to Start with:

Declare Numeric totalAmountOfNewspapers

Declare Numeric daysUntilDeadline

Declare numeric newspaperRequired

//calculate amount needed per day

Display "How many days are left until the deadline?"

Input daysUntilDeadline

Display "Enter the amount of newspaper you need."

Input totalAmountOfNewspapers

newspaperRequired = totalAmountOfNewspapers / daysUntilDeadline

Display "You have" + newspaperRequired + "until you reach the goal."

Learn more are programming from

https://brainly.com/question/22654163

#SPJ2

Use the drop-down menu to correctly identify the numbering system.

This numbering system uses 8 symbols:
This numbering system uses 0 and 1:
This numbering system uses 16 symbols:
This numbering system uses 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9:
This numbering system uses 2 symbols:
This numbering system uses 10 symbols:
This numbering system uses numbers and letters:
This numbering system uses 0, 1, 2, 3, 5, 6, and 7:

Answers

This numbering system uses 8 symbols: octal number

This numbering system uses 0 and 1: binary number

This numbering system uses 16 symbols: hexadecimal

This numbering system uses 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9: decimal number system

This numbering system uses 2 symbols: binary number system

This numbering system uses 10 symbols:   decimal number system

This numbering system uses numbers and letters:   hexadecimal number system

This numbering system uses 0, 1, 2, 3, 5, 6, and 7:   octal number system

This numbering system uses 8 symbols is octal number and that of  0 and 1 is binary number.

What is numbering system?

Other are:

The numbering system that uses 16 symbols: hexadecimal.The numbering system that uses 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9: decimal.The numbering system that uses 2 symbols: binary.The numbering system that  uses 10 symbols:   decimal.The numbering system that uses numbers and letters:   hexadecimal.This numbering system uses 0, 1, 2, 3, 5, 6, and 7:   octal.

The numbering system  is known to be often used in  computer.

Conclusively,  it is known to be a kind of systematic process for depicting or showing numbers through the use of a specific set of symbols such as the ones given above.

Learn more about  numbering system from

https://brainly.com/question/17200227

#SPJ2

Selective colleges choose to have in-person meetings to learn more about the applicants. These meetings are called:

A. college recruiting meetings.
B. personal meetings.
C. student orientations.
D. college interviews

Answers

The meeting is called collage interviews

Selective colleges choose to have in-person meetings to learn more about the applicants. These meetings are called college interviews. Thus, option D is correct.

What is a College?

A college has been either an educational institution or itself or one of its component parts. A college would be the secondary school, a part of the a collegiate or the federal university, a postsecondary institution offering the degrees, or the facility providing the vocational training.

A college could be the high school or the secondary school, a college of the further education, a training facility that would grants trade qualifications,as well as a higher-education provider without university status, or the component part of a university.

In the United States, a college may provide undergraduate programs as an independent institution, as the undergraduate division of a university, as a residential college of a university, as a community college, or as the undergraduate division of a non-profit organization.

To learn more about College, visit:

brainly.com/question/4217955

#SPJ2

Please help me with these short questions >..

Answers

Answer:

bmjcmbbobnkpkkjkbk

Explanation:

vuvkopbbkvkhovjlplbkp

sunglasses sunglasses sunglasses sunglasses sunglasses sunglasses sunglasses sunglasses sunglasses sunglasses i am a failure sunglasses sunglasses sunglasses sunglasses sunglasses sunglasses sunglasses sunglasses sunglasses sunglasses sunglasses sunglasses sunglasses sunglasses

Answers

Answer:

SUNGLASSES!!!!! Also, side note, you're not a failure!

EISDHUOSHSD ITS WORLD WIDE HANDSOME

35 points!!!!! Brainliest to best answer!
Please don't just answer for the points!!!!!!!!!!!!
Kim's father's company has expanded many times. Therefore, the company's volume of data has also increased. The employees of that company have problems with accessing large volumes of data. Which computer network should she choose so that the employees can access the huge amount of data easily?

A. VPN

B. LAN

C. WLAN

D. PAN

E. SAN

Answers

Answer:

the answer is E. SAN

Explanation:

Answer:

VPN

Explanation:

Frankie is in charge of writing a script for a television show, along with six other writers. The script must be finished by the end of the week. Frankie’s co-workers all bring slightly different strengths to the table, but all are at least competent. Frankie wants to write the best possible script in the generous amount of time he has to work with. In this example, which style of leadership would be most effective for Frankie’s goals?
a.
Authoritarian
b.
Coaching
c.
Democratic
d.
Delegative

Answers

The best type of leadership for Frankie would be C, Democratic.

The style of leadership would be most effective for Frankie’s goals is Democratic. Thus, option C is correct.

What is Democratic leadership style?

This is known to be a form of government where the the people rule through their elected representative. Note that The style of leadership would be most effective for Frankie’s goals is Democratic as it is where one can listen to what the people has to say.

A good leader must be willing to adopt the style which suits the situation they are in. When dealing with inexperienced employees, an authoritarian style might be the best.

A scripting language or script language is a programming language for a runtime system that automates the execution of tasks that would otherwise be performed individually by a human operator.

Therefore, The style of leadership would be most effective for Frankie’s goals is Democratic. Thus, option C is correct.

Learn more about Democratic from

brainly.com/question/3710021

#SPJ5

Christa is designing a web page. She wants an image that reads 5100% Natural!" to be associated in the user's mind with a picture of a new fruit snack. What is the best way for her to do this?


A. use the rule of thirds
B. place the images in close proximity
C. increase the color contrast
D. increase the whitespace​

Answers

Answer: B. Please the images in close proximity.

Please tell me if its right so I can update it!

PowerPoint SAM Capstone Project 1 can PLEASE someone do it for me I have some directions like steps and you just have to do it in a powerpoint slide please I would really appreciate it

Answers

Answer:

Sooo what's the question??

Explanation:

Answer:

kk

Explanation:

Choose the best answer in each of the drop-down menus.

Answers

Answer:

whata r in the windows pls list them

Explanation:

Identify the causes of installation problems. (Choose all that apply)

Answers

Answer:

the last one

Explanation:

please mark brainliest

Answer: The answers are: A,B,D

edg.

Which of the following is used as a placeholder for future code and has no function being executed?

hold

return
pass

null

Answers

Answer:

Pass, does nothing, you can put it in a function to just skip over it without failing.

Explanation:

Hold pauses the operation, return returns a value, and null is a placeholder variable that has many uses.

Answer:

i think it is pass

Explanation:

if not srry and let me know

The unique identifier for each record in a database table is called the

A. Record Id
B. Id number
C. Primary key
D. Row number

Answers

The answer is C. Primary Key. I hope this helps

Answer:

C

Explanation:

Thank the other person

After you have located a program name from the Start menu, in order to create a shortcut on the desktop.

Answers

Answer: wut am I suppose to do

Explanation: thx for the free points :)

The binary number represented by the voltage graph below is

Answers

Answer:

The binary number represented by the voltage graph is bits

Explanation:

Answer:

Heres both answers and how to read them

Explanation:

100% on the quiz


Where do medical students spend most of their first 2 years of medical
school? *

Answers

The first two years
Much of your time will be spent in the classroom and the lab, and the courses you'll take will give you all the fundamentals you need to start learning the art of medicine and patient care.


dash+dash=100
Both dash and dashare prime numbers.
How many different solutions can you find​

Answers

Answer:

6

Explanation:

97+3 = 100

89+11 = 100

83+17 = 100

71+29 = 100

59+41 = 100

53+47 = 100

I counted them using excel, see pic.

Answer:

?

Explanation:

?

Does somebody know how to this. This is what I got so far
import java.io.*;
import java.util.Scanner;


public class Lab33bst
{

public static void main (String args[]) throws IOException
{



Scanner input = new Scanner(System.in);

System.out.print("Enter the degree of the polynomial --> ");
int degree = input.nextInt();
System.out.println();

PolyNode p = null;
PolyNode temp = null;
PolyNode front = null;

System.out.print("Enter the coefficent x^" + degree + " if no term exist, enter 0 --> ");
int coefficent = input.nextInt();
front = new PolyNode(coefficent,degree,null);
temp = front;
int tempDegree = degree;
//System.out.println(front.getCoeff() + " " + front.getDegree());
for (int k = 1; k <= degree; k++)
{
tempDegree--;
System.out.print("Enter the coefficent x^" + tempDegree + " if no term exist, enter 0 --> ");
coefficent = input.nextInt();
p = new PolyNode(coefficent,tempDegree,null);
temp.setNext(p);
temp = p;
}
System.out.println();

p = front;
while (p != null)
{

System.out.println(p.getCoeff() + "^" + p.getDegree() + "+" );
p = p.getNext();


}
System.out.println();
}


}

class PolyNode
{

private int coeff; // coefficient of each term
private int degree; // degree of each term
private PolyNode next; // link to the next term node

public PolyNode (int c, int d, PolyNode initNext)
{
coeff = c;
degree = d;
next = initNext;
}

public int getCoeff()
{
return coeff;
}

public int getDegree()
{
return degree;
}

public PolyNode getNext()
{
return next;
}

public void setCoeff (int newCoeff)
{
coeff = newCoeff;
}

public void setDegree (int newDegree)
{
degree = newDegree;
}

public void setNext (PolyNode newNext)
{
next = newNext;
}

}



This is the instructions for the lab. Somebody please help. I need to complete this or I'm going fail the class please help me.
Write a program that will evaluate polynomial functions of the following type:

Y = a1Xn + a2Xn-1 + a3Xn-2 + . . . an-1X2 + anX1 + a0X0 where X, the coefficients ai, and n are to be given.

This program has to be written, such that each term of the polynomial is stored in a linked list node.
You are expected to create nodes for each polynomial term and store the term information. These nodes need to be linked to each previously created node. The result is that the linked list will access in a LIFO sequence. When you display the polynomial, it will be displayed in reverse order from the keyboard entry sequence.

Make the display follow mathematical conventions and do not display terms with zero coefficients, nor powers of 1 or 0. For example the polynomial Y = 1X^0 + 0X^1 + 0X^2 + 1X^3 is not concerned with normal mathematical appearance, don’t display it like that. It is shown again as it should appear. Y = 1 + X^3

Normal polynomials should work with real number coefficients. For the sake of this program, assume that you are strictly dealing with integers and that the result of the polynomial is an integer as well. You will be provided with a special PolyNode class. The PolyNode class is very similar to the ListNode class that you learned about in chapter 33 and in class. The ListNode class is more general and works with object data members. Such a class is very practical for many different situations. For this assignment, early in your linked list learning, a class has been created strictly for working with a linked list that will store the coefficient and the degree of each term in the polynomial.

class PolyNode
{
private int coeff; // coefficient of each term
private int degree; // degree of each term
private PolyNode next; // link to the next term node

public PolyNode (int c, int d, PolyNode initNext)
{
coeff = c;
degree = d;
next = initNext;
}

public int getCoeff()
{
return coeff;
}

public int getDegree()
{
return degree;
}

public PolyNode getNext()
{
return next;
}

public void setCoeff (int newCoeff)
{
coeff = newCoeff;
}

public void setDegree (int newDegree)
{
degree = newDegree;
}

public void setNext (PolyNode newNext)
{
next = newNext;
}
}

You are expected to add various methods that are not provided in the student version. The sample execution will indicate which methods you need to write. Everything could be finished in the main method of the program, but hopefully you realize by now that such an approach is rather poor program design.

Answers

I have a solution for you but Brainly doesn't let me paste code in here.

Can someone please help and answer the 6 questions on the bottom of the page

I’ll give you brainly

Spam answer will be reported please don’t spam

Answers

Ivan rigney

John benson      2

Mark nicholls      4

James  mitchell   7

Paul matthews   13

Neil hooper         8

When is it appropriate to delete an entire row or column as opposed to deleting the data in the row or column

Answers

Answer:

huh wdym

Explanation:

why is video game addiction a real problem?​

Answers

Video game addiction is a real problem because it starts interfering with school and other activies such as spending time with family, or being active. It slowly starts taking away your motivation to do anything else and all you want to do is play the game

Well, truthfully there is no such thing as video game addiction.

You see, playing video games is fun, and sure, sometimes some kids (or adults sometimes too) like to play for a lot longer than others would like them to, however, video gaming is a very good thing in many cases. You see, for example, there are gamers who have made a very large impact on the definition of success. Like Jaden Ashman (he was born in the UK) who won the Fortnite World Cup, and signed a contract with the Fortnite team Lazarus. This made Jaden earn over $60,000 a year. Parents and other people may believe that kids can be addicted to video games, but there have always been the people who prove them wrong. We as people get our own assumptions of what is or isn't addicting, video games among them, but we (the younger generation of gamers) know more insight than those others. People just need to re-define the definition of addiction.

Hope this helps and have a nice day.

-R3TR0 Z3R0

What would happen if computers only had input devices?
Computers would process and display data.
O Computers would receive input and process data.
Computers would receive input, process, and print data
Computers would receive input and display data.

Answers

Answer:

B. Computers would receive input and process data

Explanation:

Without and output device, the computer can't display the data so they would only be able to receive and process the data but not display it.

pick a name fa me ❤️

Answers

Answer:

drug dealer

Explanation:

ask this somewhere else bro. im only answering it for the points.

gay baeee TBHHHHHH :P

A. Fill in the blanks:
1.
is an effective way to display data in pictorial form.
2. Data series are the bars or slices that show the
3. Barchart displays data in the form of long
rods.
4.
is the vertical axis that is used to plot the values.
5.
is a key that is used to identify the colours, patterns, or symbol assigned to a data series.

Answers

Answer:

1. Charts.

2. Data series.

3. Rectangular.

4. Y-axis.

5. Legend.

Explanation:

1. Charts: is an effective way to display data in pictorial form. It includes the use of pie charts, bar charts, venn diagram, etc.

2. Data series: are the bars or slices that show the data values. It comprises of related data sets.

3. Barchart displays data in the form of long rectangular rods. Generally, bar charts are used for the comparison of informations obtained from a data collection by representing each value (information) with rectangular bars respectively. A bar chart has a x-axis and a y-axis used to represent the various categories of data collected.

4. Y-axis: is the vertical axis that is used to plot the values. The other axis for plotting values is known as X-axis.

5. Legend: is a key that is used to identify the colours, patterns, or symbol assigned to a data series.

A for-loop statement can iterate over many items in

a function.

a variable.
a list.

a pass statement.

Answers

A list ..............

Answer: a list. This is the correct answer I checked it out and got it right.

Explanation:

A for-loop statement can iterate over many items in a list. This is the correct answer I checked it out and got it right.

Which of the following is the main cause of network failure?

A. cables that break
B. peripherals that get in the way
C. storms
D. human error

Answers

Answer:

Possibly A or C

Explanation:

Answer: human error is the right answer!!!!!

Explanation:

I took the quiz

IF YOU LOVE GOD HELP ME......What should be covered in the conclusion of a presentation?

A.
the agenda or purpose of your presentation
B.
real-world examples of the points you make
C.
an animation illustrating what you want to say
D.
a summary of the important points

Answers

Answer:

D.

a summary of the important points

D should be correct

The simplest element that exists is only one proton and one electron. It is what stars are made of. It's symbol is "H". What is this element? * 1 point Helium Mercury Hafnium Hydrogen

Answers

Answer:

Hydrogen.

Explanation:

Hydrogen is the simplest element that exists. The symbol for the chemical element Hydrogen is "H" and it is a colourless, tasteless, odorless, and highly flammable gas.

Hydrogen is a chemical element found in group (1) of the periodic table and as such it has one (1) electrons in its outermost shell. Therefore, Hydrogen has an atomic number of one (1) and a single valence electrons because it has only one proton and one electron in its nucleus.

Additionally, all stars are made up of Hydrogen.

A star is a giant astronomical or celestial object that is comprised of a luminous sphere of plasma, binded together by its own gravitational force. Stars are typically made up of two (2) main hot gas, which are Hydrogen (H) and Helium (He).

How did early games in generation 1 or 2 influence zelda botw

Answers

Answer:

Open world exploration and inventory management

Explanation:

In the first Zelda game (NES) and Zelda ii (NES) there were very early open world mechanics along with inventory management.

Answer:

5 or 4

Explanation:

I know that Zelda 1 and Windwaker were inspristions, and then we have Ocarina of Time for the Korok forest, Gerudo Desert, and etc. And A Link to the Past was where Kakriko Village originated and the same theme was used for Botw as an easter egg. You may not believe me, but it's in there. But if you wanna get techinical, tons of outfits from the old games are in botw thanks to the dlcs, so...all of them actually are what botw is on.

Other Questions
REALLY NEED HELP PLEASE! Please help, due Tomorrow. Will mark brainlist if correct you've been working for a while, but your sister just got a job and is excited to have some of her "own" spending money. Money burns a hole in her pocket. What are some ideas on how she can save some money? if a function f is defined such that f(x+3) = f (x) + f(3) show that f(-3) = -f(3) What is the purpose of the story about the falcon being killed by the owl?A. To show that falcons just aren't as awesome as people make them out to beB. To show that the murder that took place has knocked nature itself out of order (fair is foul .. andwhatnot)C. To show that in any battle of birds, you can never underestimate the heart of an owlD. There is no purpose - 70 year old men tend to just ramble on and on and on and on ... Eloise has 293 books that she must package into boxes. Each box must hold 8 books. Eloise divides 293 by 8 and gets an answer of 36 R 5. What is the correct interpretation of R 5 for this situation? Pls Help! Need Answer! find the number of distinct permutations of the word "CALCULATOR." who needs help on Spanish Two functions, A and B, are described as follows: Function A y = 9x + 4 Function B The rate of change is 3 and the y-intercept is 4. How much more is the rate of change of function A than the slope of function B? (5 points) The marked price of a sweater at the clothing store was $24.During a sale, a discount of 25% was given. A further 15%discount was given to the customers who have the store'scredit card. How much would a member customer need to payfor the sweater during the sale if the customer paid with thestore's credit card? Round your answer to the nearest cent. 4s - (s - 12) = 1- (1 - 6s)? What is the formula for tin (II) nitrite? What is the mass of 2.5 moles of carbon dioxide? For this assignment, make a list of behaviors someone may be motivated to do to satisfy each of the following needs according to Maslow's theory. (FOR 100 POINTS!!!!!) I NEED IT TODAY PLS HELP1. Physiological Needs2. Safety Needs3. Belongingness Needs4. Esteem and Achievement Needs Which of the following best explains why a structural formula of a chemical compound is more useful than a molecular formula?Both formulas identify the specific atoms in a particular compound. However, a structural formula also shows how the atoms in a compound are bonded together.Both formulas identify the types of atoms in a particular compound. However, a structural formula also shows how many atoms of each type are in a compound.Both formulas show the location of each valence electron in a particular compound. However, a structural formula also shows the ratio of protons to neutrons within a compound.Both formulas show the ratio of protons to neutrons within a particular compound. However, a structural formula also shows the location of each valence electron in a compound. Why would FDR never clearly explain/define what exactly the New Deal and how it worked? Examples of propaganda in the Wave A band earns $400 for playing at the festival the manager is pay 10% of the money earned and the band is saving 15% of the money earned to put towards Recording expenses how much money is left for the band to split? Which sentence is punctuated correctly?