Computer Science, asked by trishashrivastava202, 3 months ago

Draw a Flowchart
A cloth showroom has announced the followingfestival discounts the purchase of items based on the total cost of the items purchased-
Total cost
Discount
Less that Rs 2000
5%
2001 tre Rs 5000
25%
Rs.
5ool tee 1oooo
35%
Above R 1000
50%
Draw a Flow Chart
Input the total cost compute the discount
and net amount to be paid by the customer after availing the discount.​

Answers

Answered by karanjaiswal453
1

Answer:

A cloth showroom has announced the following festival discounts on the

* purchase of items, based on the total cost of the items purchased:

* Total Cost Discount ( in Percentage)

* Less than Rs. 2000 5%

* Rs. 2001 to Rs. 5000 25%

* Rs. 5001 to 10000 35%

* Above Rs. 10000 50%

* Write a program to input the total cost and compute and display the amount

* to be paid by the customer after availing the discount.

*/

import java.util.*;

public class Question38

{

static void main()

{

Scanner sc=new Scanner(System.in);

int total;

float dis, amt;

System.out.print("Enter the Total Cost: ");

total=sc.nextInt();

if(total<=2000)

d

Explanation:

P(S)=1

The sum of probability of all the events in a sample space is 1.

Answered by avanimehra2010
0

Answer:

cloth showroom has announced the following festival discounts on the

* purchase of items, based on the total cost of the items purchased:

*

Total Cost

Discount (in

Percentage)

*

Less than Rs. 2000

5%

Rs. 2001 to Rs. 5000

25%

Rs. 5001 to 10000 Above Rs. 10000

*

35%

50%

* Write a program to input the total cost and

compute and display the amount

* to be paid by the customer after availing the discount.

*/

import java.util.*;

public class Question38

static void main()

{

Scanner sc-new Scanner(System.in);

int total;

float dis, amt;

System.out.print("Enter the Total Cost: "); total sc.nextInt():

if(total<=2000)

d

P(S)=1

The sum of probability of all the events in a sample space is 1.

Explanation:

hope it helps you

Similar questions