C#
CS 165 02
Program Assignment 02
Chapter 03
20 Points
Name _____________________________________
Due: Wednesday, October 4, 2017 at the beginning of class
Create an application with a form that resembles Figure 3-48 on page 197. The PictureBox controls display the images of four fruits (a banana, an apple, an orange and a pear) and each fruit’s calories. You can find these images in the I:\kopp\outbox\CS 165 02\Program Assignments\Chapter 03 folder.
When the application starts, the total calories displayed should be zero. Each time the user clicks one of the PictureBoxes, the calories for that fruit should be added to the total calories, and the total calories should be displayed. When the user clicks the Reset button, the total calories should be reset to zero.
Add the following comments to the beginning of the program.
Name: Your Name
Class and Section: CS 165 02
Assignment: Program Assignment 02
Due Date: See above
Date Turned in:
Program Description: You write a short description of what the program will do
When you complete the program, do the following.
1. Turn in a printout of the source code with this sheet attached to the front
2. Create a folder with the following name: Program 02
3. Copy your project to this folder
4. Copy the folder to the following location: I:\kopp\inbox\CS 165 02\your name where your name is a folder located in I:\kopp\inbox\CS 165 02.