Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2001-10

turbo pascal 7.0 need help writing program

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Unknown author

I have been trying to write this program for pascal class.I ran the program but it will
not work.Here are the instructions:prepare an invoice for the sales for each customer.
Your input will contain the following to be entered from the keyboard, customer number(5 numeric digits), customer name (string), item number (3 numeric), item
description, (string), price (real),quanity (integer) . The output should look like this:

cust# name item# description quanity unit price total detail lines here

total =

tax =

total invoice=
cannot create files or records use loops and repeat until . Instructer did not give a file.
use the for loop to print the items. Enter at least 2 customers with more than 1 item
per customer.Print the output on paper. Tax will be 10% of total. If someone could help me with this, I would greatly appreciate it. Email address is

thank you,

Chris

Reply by email

alvin levy
to Unknown author

I won't write the program for you, but if you will send me your code I will help you get it going.
Alvin

Earlier message 26 lines
----- Original Message ----- From: To: Sent: Friday, October 05, 2001 10:07 PM Subject: [fpc-pascal]turbo pascal 7.0 need help writing program I have been trying to write this program for pascal class.I ran the program but it will not work.Here are the instructions:prepare an invoice for the sales for each customer. Your input will contain the following to be entered from the keyboard, customer number(5 numeric digits), customer name (string), item number (3 numeric), item description, (string), price (real),quanity (integer) . The output should look like this: cust# name item# description quanity unit price total detail lines here total = tax = total invoice= cannot create files or records use loops and repeat until . Instructer did not give a file. use the for loop to print the items. Enter at least 2 customers with more than 1 item per customer.Print the output on paper. Tax will be 10% of total. If someone could help me with this, I would greatly appreciate it. Email address is thank you, Chris

Reply by email