Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I could use help with this assignment. Could you also show that the code worked? My current code is giving me error messages. Problem Statement:

I could use help with this assignment. Could you also show that the code worked? My current code is giving me error messages.

image text in transcribed

Problem Statement: Write a single well-commented program to receive and store a flow of data, and to indicate if and when that data is out of range. Additional Requirements/Details: Your program should: Query the user for 10 data values, one at a time. (In practice, this user input would typically be replaced . ith a call to a sensor and the process would run continuously until a stopping criterion was reached.) Request the user enter numerical values above zero (assume it is single precision data type). If any value exceeds 100, use a message box to notify the user that there's a problem. For extra credit, sound an alarm when the message box comes up . . Log all input data values in a l-d array . In a second 1-d array, log a text description of the status for each input data value (for example, "AOK" or Above Range"). Note: For full credit we are only requiring you to populate the arrays, not print the arrays out anywhere. But you won't really know if your code is working unless you actually look at the results, so you will probably want to include for your own purpose putting those arrays into the Excel worksheet. o

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

Object Oriented Databases Prentice Hall International Series In Computer Science

Authors: John G. Hughes

1st Edition

0136298745, 978-0136298748

More Books

Students also viewed these Databases questions

Question

Does it have at least one-inch margins?

Answered: 1 week ago

Question

Does it highlight your accomplishments rather than your duties?

Answered: 1 week ago