Each student in a course needs to submit 3 lab assignments and take 2 tests. Design a program to do the following. Ask the user
to enter 3 lab scores and 2 test scores. Calculate and display the lab average and the test average. Also calculate and display the course grade, which equals 55% of the lab average plus 45% of the test average.
You can multiply by 12 because to get rid of the fractions all terms should be divided by the LCM (ie the smallest multiple that is exactly divisible by 2, 4 and 3)
Multiples of 3 = 3, 6, 9, 12
Multiples of 4 = 4, 8, 12, 16
Multiples of 2 = 2, 4, 6, 8, 10, 12
Therefore the fractions should be multiplied by 12
5/12 and 2/9 have denominators divisible by only 3 right? Well The common denominator that can then change is 3 because that's the only number they have in common (except 1)