Question: A program in MARIE.js assembly code The purpose of the program is to capture 2 0 measures in total, they can be input or into
A program in MARIE.js assembly code
The purpose of the program is to capture measures in total, they can be input or into the program already
It will capture measures for the variable LF and another measures for the variable HF
It will then take the average of each variable both LF and HF then it will divide LFHF
The variable that will store the result from LFHF is called Index
Then it will print the value of the variable Index
If Index is greater than Index then it will print the following message "Fatigue detected"
Finally the measures stored in the variable LF and HF will be erased cleared and the process will capture new data
The last step, capture of data, is just meant for when the values of the variable are input manually.
The range of values for HF can be any number between
For LF it can be between
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
