I need a coding expert in C language to build be a model based agent using C++
Budget: $30 – $250 USD
I need a c++ expert to build me a Model-Based Agent to do the following tasks:
1- Accepting blood sugar rate in the range of (70 to 500). Any integer out of this range, the code should display a message telling the user that this number is out of range.
2- The input integer should be compared with an Array as defined below:
Array = [65, 80, 85, 93, 98, 104, 113, 127, 136, 141, 149, 157, 166, 174, 180, 195, 203, 216, 225, 234, 250, 258, 262, 270, 281, 295, 302, 318, 328, 340, 351, 368, 381, 399, 420, 450, 480, 500]
3- The closest number to the range to the input integer must be found using the following procedure:
A- Design a loop to compare the difference between the input integer and each number in the array above.
B- Find the minimum of the errors.
C- Find the median of the errors.
D- FInd the average of A & B.
The average of A and B should be displayed as a final result.
1- Accepting blood sugar rate in the range of (70 to 500). Any integer out of this range, the code should display a message telling the user that this number is out of range.
2- The input integer should be compared with an Array as defined below:
Array = [65, 80, 85, 93, 98, 104, 113, 127, 136, 141, 149, 157, 166, 174, 180, 195, 203, 216, 225, 234, 250, 258, 262, 270, 281, 295, 302, 318, 328, 340, 351, 368, 381, 399, 420, 450, 480, 500]
3- The closest number to the range to the input integer must be found using the following procedure:
A- Design a loop to compare the difference between the input integer and each number in the array above.
B- Find the minimum of the errors.
C- Find the median of the errors.
D- FInd the average of A & B.
The average of A and B should be displayed as a final result.
Related categories:
Business, Accounting, Human Resources & Legal
Python
C# Programming
C++ Programming
Coding