Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hide Assignment Information Instructions Marcus, Chris, Arlan, Jacob, and Raymond are training to run in a 5K sponsored by ABC. Each day of the week,

Hide Assignment Information

Instructions

Marcus, Chris, Arlan, Jacob, and Raymond are training to run in a 5K sponsored by ABC. Each day of the week, they run some number of miles and write them down. They would like to be able to analyze this data to find the average miles run each day.

Write a program to do this analysis for them. It must contain:

  • a one-dimensional array for the names of the runners
  • a one-dimensional array for the days of the week
  • a two-dimensional array to store the number of miles that each runner ran on each day

Your program must read miles run each day from the keyboard and store it in the two-dimensional array. It must also output the average number of miles run each day, including the day of the week.

Java for language

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

Essentials of Database Management

Authors: Jeffrey A. Hoffer, Heikki Topi, Ramesh Venkataraman

1st edition

133405680, 9780133547702 , 978-0133405682

More Books

Students also viewed these Databases questions