Advertisement
JcGaming

Activity Week 5 Getting the Average Grade by John Carl Quieta

Oct 11th, 2022 (edited)
1,169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.12 KB | None | 0 0
  1. //Activity Week 5 by John Carl Quieta
  2. /**
  3.  * gradingsystemquieta
  4.  */
  5. public class gradingsystemquieta {
  6.  
  7.     public static void main(String[] args) {
  8.         String StudentName = "John Carl Quieta's Grade is: ";
  9.  
  10.         // total grades
  11.         int compiler = 100;
  12.         int activity = 100;
  13.         int assignment = 30;
  14.         int activityweek4 = 100;
  15.         int JNotes = 100;
  16.  
  17.         int totalgrades = compiler + activity + assignment + activityweek4 + JNotes;
  18.  
  19.         // Student Grade
  20.  
  21.         int Scompiler = 100;
  22.         int Sactivity = 100;
  23.         int Sassignment = 30;
  24.         int Sactivityweek4 = 99;
  25.         int SJNotes = 100;
  26.  
  27.         int SGradeTotal = Scompiler + Sactivity + Sassignment + Sactivityweek4 + SJNotes;
  28.  
  29.         // Grade INfo
  30.  
  31.         float G1 = 1.00f;
  32.         float G2 = 1.50f;
  33.         float G3 = 2.00f;
  34.         float G4 = 2.50f;
  35.         float G5 = 3.00f;
  36.         float G6 = 3.50f;
  37.         float G7 = 4.00f;
  38.         float G8 = 4.50f;
  39.         float G9 = 5.00f;
  40.  
  41.         System.out.println(StudentName + "1.00");
  42.  
  43.     }
  44.  
  45. }
  46. // Submitted by: John Carl Quieta
  47. // October 12, 2022
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement