logo

Student Grade Calculator

   

Added on  2019-09-16

2 Pages264 Words335 Views
 | 
 | 
 | 
import java.util.Scanner;public class My_Project{public static void main( String [] args ){Scanner scan = new Scanner (System.in);String[] firstname = { "naji " , " lisa " , "andy " , "ravi " , "dava ", "sara " , "sami " , "imed " ,"kira " , "hind " };String [] lastname = { " hasan" , "smith" , "malik" , "gupta" , "blair" , "clark" , "moosa" , "radhi" , "sunny" , "ahmed" };int[] classwork = new int[10];int[] midterm = new int[10];int[] finalexam = new int[10];for (int i=0 ; i<10 ; i++){System.out.print(firstname [i] );System.out.print(lastname [i] ) ;classwork [i] = scan.nextInt() ;midterm [i] = scan.nextInt() ;finalexam [i] = scan.nextInt() ;}// for (int i=0 ; i<10 ; i++)//{ Avarage [i ] = }//for (int i=0 ; i<10 ; i++)//{ System.out.print fn ln[i] cw[i] m f Avarage[] } + between them
Student Grade Calculator_1

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents
Java Programming Assignments with Solutions
|9
|904
|164

Sorting Students by Last Name
|9
|1038
|149

Object Oriented Programming with Java
|9
|1142
|153

Online Sales and Inventory Management System (SIMS)
|18
|4838
|56

Assignment on Program for Grade
|3
|357
|17

Programming Assignment: Java Programming
|12
|2732
|107