Click Below Link To Download!
Product Description
Quick Overview
AVERAGE TEMPARATURE IN PARADISE
Application Title: Hawaiian Average Temperature
Purpose: This windows application is written for the Hawaiian Tourism Board with the task of calculating the yearly average temperature in the Hawaiian Islands for one year.
Program procedures: In a Windows application, the user enters up to 12 average monthly temperatures to compute the annual average temperature in the Hawaiian islands.
Algorithms,Processing, and Conditions:
- The user enters up to 12 monthly average temperatures for the Hawaii in an InputBox object.
- Each month’s average temperature is displayed in a list box object.
- After the 12 temperatures are entered, the average temperature is calculated and displayed.
- A file menu contains a Clear and an Exit option. The clear menu item clears the average and the 12 values representing the monthly temperatures. The Exit menu item closes the application.
- If the user clicks the Cancel button before entering 12 values, compute the average for the number of months entered.
- If the user clicks the Cancel button before entering any temperatures, display a message indicating the user did not enter a temperature.
Notes and Restriction:
- Non-numeric values should not be accepted.
- Negative values should not be accepted.
- The average temperature should be rounded to the nearest tenth.
Comments:
- The application allows decimal entries.
- Obtain the image from the scsite.com/vb2010/ch6/images. Its name is Beach.
USE CASE DEFINITION
- The Windows application opens, displaying the Hawaiian Tourism Board Average Temperature title, a ListBox object that displays the temperatures, an image, and a button object that allows the user to begin entering the temperatures.
- A menu bar displays the file menu, which has two menu items: Clear and Exit.
- The user enters up to 12 values in an InputBox object, with each value representing an Hawaiian monthly average temperature.
- The program asks the user for the temperature again if the value is a negative number or the entry is a non numeric value.
- The program displays the average temperature rounded to one decimal place.
- The user can clear the input and the result by clicking the Clear menu item, and then can repeat steps 3-5. If the user clicks the cancel button, the average for the values entered is calculated. If the user did not enter any values, the program displays an appropriate message.
- The user clicks the Exit menu item to close the application.
Previews
No comments:
Post a Comment