Recent studies recommend limiting the screen time for kids. An elementary school teacher collected information about non

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Recent studies recommend limiting the screen time for kids. An elementary school teacher collected information about non

Post by answerhappygod »

Recent studies recommend limiting the screen time for kids. Anelementary school teacher collected information aboutnon-educational daily screen time for ten kids in grade one. Thedata is stored in an input file named “input.txt”. The input filecontains the names of the students and the screen time for 7 days.Design an algorithm and write a C++ program that do the following:• Uses a loop to read the data from the file • Calculates theaverage screen time for each kid • Outputs the data and the averagescreen times as illustrated in the sample runs.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply