This question's due date has already passed. You may post a tutorial, but there's no guarantee that the original asker will purchase the tutorial. But other people might!

Question

$10.00 Farmer's Market Application HELP

Asked by :
lokarosa
lokarosa
Rating :No Rating
Questions Asked: 3
Tutorials Posted: 0
 
 
Q:

I'm trying to add a subclass to include the name of the farm and also to turn the grand total purchase price to include 7% tax. I added the code in, however, its not compiling. I just need someone to tell me where I'm going wrong and what I should do to fix it. (please remember I'm a beginner) Here are the instructions. Modify the Farmers Market Program by creating a subclass of the product storage class which stores the name of the Farm the product was purchasedfrom. In the subclass, create a method to calculate the total value of the entire purchases. The subclass method should also contain a method which adds a 7% food tax to the value the total purchases. - Modify the receipt to display the Farm name you have chosen and the food tax. The receipt should also display the total value with the food tax added in.

 

Available Tutorials to this Question
 
$10.00
Complete solution to "Farmers Market Application" problem. Designed as per requirement.Fully commented code.
  • This tutorial hasn't been purchased yet.
  • Posted on Feb 01, 2011 at 2:01:50PM
Posted by :
SB_Solutions
SB_Solutions
Rating (38):A+
Questions Asked: 0
Tutorials Posted: 291,
Earned: $3,212.60
 
A:
Preview: ... r (int i = 0; i {     prod = fruit[i];                  ... }Here references and objects are derived type. //------------------ ...

The full tutorial is about 82 words long plus attachments.