Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Advanced level school computer science. need helps. A program is required to input and process the number of steps taken by members of a walking

image text in transcribed

image text in transcribed

Advanced level school computer science. need helps.

A program is required to input and process the number of steps taken by members of a walking club each week. The number of steps taken by each member is an integer in the range 0 to 100000. Each week, the "Star of the Week" is the member who has taken the greatest number of steps. The name and number of steps taken by the previous week's "Star of the Week" are stored in the text file, STAR.TXT. The program specification is as follows: - Input up to 10 names and the number of steps each has taken. Assume that each number of steps is unique. - Find the walker who has taken the greatest number of steps from this data. - Read the data about the previous "Star of the Week" from the text file STAR. TXT. - Display a message on screen to show the previous star of the week and the new star of the week, each with their number of steps. For example, Last week, Jenny Smith was 'Star of the Week' with 75827 steps taken. This week, Vanessa Lim is 'Star of the Week' with 67152 steps taken. - Update the text file, STAR. TXT, with the details of the new "Star of the Week". Task 1.1 Write program code for this task that includes validation of data entered. The program needs to be tested with different test cases. Consider carefully, test cases for input of names and steps. Task 1.2 Copy the table with the following headings. Add other test cases to the table. One type of test case has already been added to the table

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Management Systems Designing And Building Business Applications

Authors: Gerald V. Post

1st Edition

0072898933, 978-0072898934

More Books

Students also viewed these Databases questions