Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Can someone show me how they would do this please. I would have to be in Arduino with is a version of C++. Your fitness
Can someone show me how they would do this please. I would have to be in Arduino with is a version of C++.
Your fitness trackers must determine the number of flights of stairs that a user has climbed based on altitude values read from a barometer. For this question, we will assume the altitude difference of a flight of stairs is 2m. The user will have a current altitude that changes with each reading from the barometer and a landing altitude that remains constant until they climb a flight of stairs at which point it gets updated to their current altitude. If the user climbs down a flight of stairs (2m), we do not increase the stair count, however, the landing altitude would get updated to the current altitude. Please write the pseudocode and draw a flowchart to show your solution to the problem. Reminder: sensor data can be noisy, you may not get exactly 2m for the flight height. Part a. Write an algorithm in pseudocode. Write your pseudocode here Part b. Create a flow chart of your algorithm. Insert your flow chart here. You can insert a google drawing and generate a flow chart that way or insert a high-quality screenshot from another flow chart software of your choosingStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started