Answer the following questions for the problem listed below. What are the inputs
ID: 3639544 • Letter: A
Question
Answer the following questions for the problem listed below.What are the inputs?
What format are they in? (e.g., integer, floating-point, character,
or string)
How do you get from inputs to the outputs you want (process)?
What are the calculation steps?
To follow these steps, what else do you need?
Other variables, constants, conversion? (besides input and
output variables)
Libraries (e.g., for calculations).
What are the outputs?
What format are they in?
Most stop watches allow you to display the time elapsed as a number of
seconds, or as hours, minutes, seconds. Given an integer number of seconds,
output the equivalent in hours, minutes, seconds in this format
hours:minutes:seconds
Explanation / Answer
as the input you require two pulses inputted through the serial port denoting the start and the stop. when te start is triggere the loop for the counting should start and this should continue til the stop trigger is given through the serial port of the computer.the format for each variable could be entered as integerrs. the calculation can be done using a basic loop. where the count goes till 60 for a second restarting it to zero after ichanging the minute variable to one count.tjis is the basic logic of the problem. here the most important part is using the serial in function. if not you should use a GUI
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.