0% found this document useful (0 votes)
8 views2 pages

Student Marks Record System in Java

Uploaded by

nagashreeva03
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views2 pages

Student Marks Record System in Java

Uploaded by

nagashreeva03
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

import [Link].

*;

public class RECORD40

public static void main(String args[])

int i,j,t=0;

Scanner obj = new Scanner([Link]);

int m[][]= new int[2][5];

String names[]= new String[2];

for(i=0;i<2;i++)

[Link]("Enter the name of the student");

names[i]=[Link]();

[Link]("Enter 5 subjects Marks");

for(j=0;j<5;j++)

m[i][j] =[Link]();

[Link]("Enter the Search name of the student");

String search= [Link]();

for(i=0;i<2;i++)

if(names[i].equals(search))

for(j=0;j<5;j++)

[Link](m[i][j]);
t=t+m[i][j];

[Link](t);

break;

You might also like