Question: Purpose: This Windows Desktop application finds the average time in seconds spent on the opening page of a companys website, also called website traffic metrics
Purpose: This Windows Desktop application finds the average time in seconds spent on the opening page of a companys website, also called website traffic metrics or analytics. This market research is used to improve the effectiveness of the site. Program Procedures: A company wants to determine how much time is being spent on its opening page by computing the average in a Windows application. The application allows the user to enter up to 12 visitors times in seconds spent on the opening webpage. The average website metric is displayed in seconds. Algorithms, Processing, and Conditions: The user taps or clicks the Enter Visitor Analytics button to enter the number of seconds spent on the opening page of a company website. Each time is displayed in a ListBox object with a scroll bar that appears when the number of values exceeds the given space. After 12 values have been entered, the average is displayed. If the user taps or clicks the Cancel button before entering any time values, display an appropriate message. Notes and Restrictions: The result should include two places after the decimal point. Non-numeric values should not be accepted. Negative numbers should not be accepted. Comments: The application allows integer entries. Obtain an image for this program from CengageBrain.com. The name of the image file is the Website. USE CASE DEFINITION The Windows application opens, displaying Website Traffic Estimate as to the heading, a ListBox object that will display the seconds spent on the opening page of the website with a scroll bar as needed, and a Button object that allows the user to enter the number of seconds spent on the page. In an InputBox object, the user enters up to 12 values representing the number of seconds spent on the opening page. The program asks the user for the number of seconds again if the value is a negative or non-numeric value. The program displays the average time to two decimal places. If the user taps or clicks the Cancel button in the input box before entering twelve (12) time values, the program uses the number of seconds entered for calculations. If the user enters no time values, an appropriate message is displayed.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
