# cs 2

WRITE A PROGRAM THAT WILL ASK FOR A PRICE. IF THE PRICE IS GREATER THAN 1000, COMPUTE A 10% DISCOUNT FROM THE ORIGINAL PRICE. DISPLAY THE COMPUTED DISCOUNT.

1. 👍 0
2. 👎 0
3. 👁 119
1. Which part of this assignment are you having trouble with? The logic? Or File I/O?

1. 👍 0
2. 👎 0
posted by Alex

## Similar Questions

1. ### computers

compute the unit price for products sold the program should input the name and price of an item and its weight in pounds and ounces. Then it should determine and display the unit price write a pseudo code program that will allow a

asked by Anonymous on October 3, 2013
2. ### information technology

write a pascal program which reads price of an item. the program should compute 25% discount on the original price, it should display the discounted amount and the discounted price of an item.

asked by james on September 16, 2015
3. ### programming

Write a program reads the city names and respective gas prices into 2 single-subscripted arrays in your program - one of type string, the other of type double. (We would call these "parallel arrays" - each corresponding location

asked by George on May 13, 2013
4. ### Pseudocode

Write pseudocode for a program that calculates a customer’s total price after tax. The program will ask the user for the price of the item they are buying. Then the program will add a 5% tax to the item and output the final

asked by Names on January 25, 2017
5. ### CIS 115

I need help with the visual logic flowchart for the following problem: A local deli sells lunch value meals that consist of a sandwich, soup and a drink. The price of each meal depends on the actual items ordered. Write a program

asked by Thermonf on October 8, 2011
6. ### object oriented programming

Write a program to compute discount percentage given the marked price and selling price. the user inputs marked and selling price using keyboard

asked by Linus on November 7, 2016
7. ### Microecon

If you are given this function: P=1000-40Q where P=price and Q=sales..... How do you get the price elasticity of demand at a price that is \$500? At what price, if any is the price elasticity of demand equal to one?

asked by Dave on January 23, 2008
8. ### computer science

Write a program that will input an item’s wholesale cost and its markup percentage. The program will output the item’s retail price. The program should repeat for several input values. For example, if an item cost is 5.00 and

asked by Matt on March 30, 2010
9. ### Economics*Micro

A market has the following demand and supply equations: Qd = -50P + 1000 Qs = 150P - 400 Which of the following statements is true? a. If the price were \$9, a surplus of 300 units would exist and price would tend to fall. b. If