comp.lang.ada
 help / color / mirror / Atom feed
From: Dorran Epstein <dorran@email.eden.rutgers.edu>
Subject: I NEED HELP WITH TRUE BASIC.... Willing to pay $$$$ for some help!
Date: 1998/04/28
Date: 1998-04-28T00:00:00+00:00	[thread overview]
Message-ID: <35461B5E.4EDD9FAC@email.eden.rutgers.edu> (raw)


hello; I am a college student currently taking Computers for
Business....

We are currently working with TrueBasic on the Macs....

I have no clue how to do one of my assignements; if any of you could
help; I would be most greatful..... I am completely desperate.

here is the problem......


Write a program to convert fluid ounces into gallons, quarts, pints,
cups, and ounces. Ask the user to supply the number of ounces. Round off
the number they supply and then do the conversion. The program should
print out the answer but not bother to print any value that is zero.
Example: The user types 329.7 ounces. The program should print out "330
ounces is the same as 2 gallons, 2 quarts, 1 cup, and 2 ounces." (Notice
it didn't print out "0 pints".) For those who need to know: 8 ounces in
a cup, 2 cups in a pint, 2 pints in a quart, and 4 quarts in a gallon.


and if you have time on your hands.... here is another one:


Write a program that reads in the information on the names of parks,
their total acreage and how many miles of hiking trails they contain.
Use READ/DATA and a sentinel to mark the end of the data. This program
should produce two pieces of output. First, print the name of the park
with the most miles of hiking trails. Secondly, print the name of the
park closest in size to the average acreage. (Hint: to get this second
item, you will have to calculate the average and have the other two
variables - one to hold the name of the closest sized park so far and
the other to contain how far away from the average size it was. As you
work your way through all the parks calculating how far each park's size
is from your average - you only need to worry about the absolute value
of this difference. Each time, you find a park closer to the average,
you adjust these two variables. You will want to initialize the "how far
away" variable to some large number before you start).


I have no clue what to do for these.... If you can help me out, or god
forbid, solve the problem for me; I'd be most appreciative (hell, I'll
even pay you $15 for your time). Please help me.... I am desperate as
hell.

It is due Thursday afternoon.....

If you know how to solve these problems, e-mail me the answers, and your
home address so I know where to send the money to.....

My e-mail address is:     v8-jag@worldnet.att.net

Please help me out!!!!

thanks,
ron epstein.






             reply	other threads:[~1998-04-28  0:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-04-28  0:00 Dorran Epstein [this message]
1998-04-29  0:00 ` I NEED HELP WITH TRUE BASIC.... Willing to pay $$$$ for some help! Frank Marcos
1998-04-29  0:00 ` Scott Vieth
1998-04-30  0:00   ` Brian Schenkenberger, VAXman-
1998-04-30  0:00 ` ROGER BAGULA
     [not found] ` <01bd75a2$21841d20$35101a26@DONL.BRIGADOON.COM>
1998-05-02  0:00   ` Brian Schenkenberger, VAXman-
  -- strict thread matches above, loose matches on Subject: below --
1998-05-04  0:00 Marin David Condic, 561.796.8997, M/S 731-96
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox