import java.util.Scanner;.

Added on - 16 Sep 2019

  • Dissertation

    type

  • 2

    pages

  • 264

    words

  • 45

    views

  • 0

    downloads

Showing pages 1 to 1 of 2 pages
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.printfn ln[i] cw[i] m f Avarage[] } + betweenthem
desklib-logo
You’re reading a preview
card-image

To View Complete Document

Become a Desklib Library Member.
Subscribe to our plans

Unlock This Document