Question Creating a calculator

Gforest5

New member
Joined
Jul 15, 2017
Messages
1
Programming Experience
5-10
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.
 
It's not really for us to do your work for you. As with any project, start by working out the logic required, which basically has nothing to do with programming. Pretend that you need to write out a set of instructions for a human being with no prior experience to use to achieve your goal manually. Once you have that set of instructions, THEN you can start to think about how to implement them in code. That is the programming part and we can help you with that when you actually encounter an issue. You need to put a lot more thought into the project before it becomes an actual programming problem.
 

Latest posts

Back
Top Bottom