I need help in creating an Army PRT calculator. What is the best approach to embed the following logics?
For age 17-21 there is 100 points for 71 push-ups.99 for 70, 69 for 97 points and so on.
Basically, there is a table of data to calculate the points each individual scored in push-ups, sit-ups and run. How to embed those data in a logic where user can enter their numbers and the program calculates the total points out of 300. You can google APFT calculator for example.
For age 17-21 there is 100 points for 71 push-ups.99 for 70, 69 for 97 points and so on.
Basically, there is a table of data to calculate the points each individual scored in push-ups, sit-ups and run. How to embed those data in a logic where user can enter their numbers and the program calculates the total points out of 300. You can google APFT calculator for example.