Friday, May 26, 2017

How To Add Fractions In Java



we talked about calculating totals for a student, but there was another important use for this 2d array. we wanted to be able to tell if there was a particular topic that my friend needed to spend more time on. let's write a method that calculates the sum for each column. so it would return an array whose size matches the number of topics. and those values should be the some of


How To Add Fractions In Java, all of the students scores for that topic. so in this case, the array would look like this. if you're ready to go this method, skip ahead. if not, i'll do a short example first. let's say i want to calculate the total for multiplying fractions. i would want to add this this spot, and this spot, and this spot.


this one is the zeroth student, and the second topic. this one is the first student, and the second topic. this one, is the second student, and the second topic.


No comments:

Post a Comment

Up