so I'm creating a program that will to determine a final semester class grade given assignment and test grades and the percentages that they count for in that grade. The grade and percentage information for a single student will be given on a single line. Soooo, I just one question:
q1 = input.nextInt();
q1p = input.nextDouble();
q2 = input.nextInt();
q2p = input.nextDouble();
q3 = input.nextInt();
q3p = input.nextDouble();
l1 = input.nextInt();
l1p = input.nextDouble();
l2 = input.nextInt();
l2p = input.nextDouble();
l3 = input.nextInt();
is there a better way to simplify this mess of input of int & double??