Programming

Write a Pascal program where the user is able to pick two items, receive the price and receive total price. Using constants.

  1. 👍 0
  2. 👎 0
  3. 👁 118
  1. they're still teaching Pascal? That's as obsolete as Algol or PL/I !!
    If you can do the most basic I/O and calculations, this should be no problem.

    Not sure which constants you would use here. User input only is needed.
    I guess you could generalize it to allow input of an arbitrary (constant) number of items...

    1. 👍 0
    2. 👎 0
    posted by oobleck

Respond to this Question

First Name

Your Response

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. Computer science

    Take two inputs from user: N - #items B - budget. There are S items, each with some price value, out of which user needs to select N items in such a way that total bill does not exceed B. The program should print all such

    asked by Joshua on February 23, 2014
  3. 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
  4. gtuc

    1. WRITE A PROGRAM TO CALCULATRE THE AREA OF A RECTANGLE OF LENGTH =5 CM AND BREADTH=8CM. 2. CALCULATE THE PRICE OF AN ITEM COSTING 100 GHANA CEDIS AFTER A DISCOUNT OF 10% IS APPLIED TO IT. 3. WRITE A PROGRAM TO CALCULATE THE

    asked by jojo on February 26, 2016
  5. 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
  6. Programming

    MyGoods sells Laptop, Printer, VGA cable and HDMI cable. The prices are as below: Items Price (RM) Laptop 2500.00 Printer 450.80 VGA Cable 20.65 HDMI cable 80.20 Write a program that allows the user to enter the total of item they

    asked by Alex on October 9, 2015
  7. computer Science (need answer ASAP)

    Write a complete C# program that displays a menu comprising of the followings: Main Menu 1) Calculate Fuel Consumption 2) Calculate Weekly Wages 3) About This Program 4) Exit Program Enter your Choice: Calculating Fuel Consumption

    asked by Will on March 6, 2011
  8. computer science

    Write a complete C# program that displays a menu comprising of the followings: Main Menu 1) Calculate Fuel Consumption 2) Calculate Weekly Wages 3) About This Program 4) Exit Program Enter your Choice: Calculating Fuel Consumption

    asked by Will on March 7, 2011
  9. math

    A certain computer program lets the user pick a positive number, decreases the number by 60%, and displays the square of the result. If the number displayed is 140% larger than the number that the user picked, what number did the

    asked by Anonymous on September 18, 2013
  10. Computer Science

    1.Write an Assembly program that reads in a number of cents. The program will write out the number of dollars and cents separately. Sample Run: ? 324 3 24 2. Write an Assembly program to read three numbers in from the user, and

    asked by Ashley on October 13, 2010

More Similar Questions