generate student mark sheet matlab
#1

i want to learn how to generate student marks sheet in matlab
Reply
#2


import java.io.*;

class Student

{

public static void main ( String args[] )

throws IOException

{

BufferedReader br = new BufferedReader ( new InputStreamReader ( System.in ) );

System.out.print("\n\nEnter no. of students : ");

int n = Integer.parseInt ( br.readLine() );

String name[] = new String[n];

String div[] = new String[n];

int sub[][] = new int[n][6];

int total[] = new int [n];

float per[] = new float[n];

for ( int i=0 ; i<n ; i++ )

{

System.out.println("\n\nEnter details of Student " + (i+1) + " -\n");

System.out.print("\nEnter name : ");

name[i] = br.readLine();

System.out.println("\n\nEnter marks in 6 subjects -\n");

System.out.print("\nSE = ");

sub[i][0] = Integer.parseInt ( br.readLine() );

System.out.print("\nCA = ");

sub[i][1] = Integer.parseInt ( br.readLine() );

System.out.print("\nDMS = ");

sub[i][2] = Integer.parseInt ( br.readLine() );

System.out.print("\nCG = ");

sub[i][3] = Integer.parseInt ( br.readLine() );

System.out.print("\nTF = ");

sub[i][4] = Integer.parseInt ( br.readLine() );

System.out.print("\nITC = ");

sub[i][5] = Integer.parseInt ( br.readLine() );

for ( int j=0 ; j<6 ; j++ )

total[i] += sub[i][j];

per[i] = (float)total[i]/6;

if ( per[i] >= 70 && per[i] < 100 )

div[i] = "Honours";

else if ( per[i] >= 60 && per[i] < 70 )

div[i] = "1st";

else if ( per[i] >= 45 && per[i] < 60 )

div[i] = "2nd";

else if ( per[i] >= 33 && per[i] < 45 )

div[i] = "3rd";
else

div[i] = "Fail";

}

System.out.println("\n\n\nStudent Record -\n");

System.out.print("\n\nName\t");

System.out.print("SE\t");

System.out.print("CA\t");

System.out.print("DMS\t");

System.out.print("CG\t");

System.out.print("TF\t");

System.out.print("ITC\t");

System.out.print("Total\t");

System.out.print("%\t");

System.out.println("Div\n\n");

for ( int i=0 ; i<n ; i++ )

{

System.out.print(name[i] + "\t");

System.out.print(sub[i][0] + "\t");

System.out.print(sub[i][1] + "\t");

System.out.print(sub[i][2] + "\t");

System.out.print(sub[i][3] + "\t");

System.out.print(sub[i][4] + "\t");

System.out.print(sub[i][5] + "\t");

System.out.print(total[i] + "\t");

System.out.print(per[i] + "\t");

System.out.print(div[i] + "\t");

System.out.println("\n");

}

}

}
Reply

Important Note..!

If you are not satisfied with above reply ,..Please

ASK HERE

So that we will collect data for you and will made reply to the request....OR try below "QUICK REPLY" box to add a reply to this page
Tagged Pages: marksheet in matlab, marksheet generate by matlab,
Popular Searches: ppt of mark sheet genration project in java, student presentation evaluation sheet, www matlab programm to generate ask waveform, generate ecg signals using matlab code, what means ppto in mark sheet, ppto means mark sheet, html code for student mark sheet** lottery result 16march 2016,

[-]
Quick Reply
Message
Type your reply to this message here.

Image Verification
Please enter the text contained within the image into the text box below it. This process is used to prevent automated spam bots.
Image Verification
(case insensitive)

Possibly Related Threads...
Thread Author Replies Views Last Post
  student database management with attendance and internal marks 3 1,353 18-09-2017, 11:43 AM
Last Post: jaseela123d
  image encryption and decryption using rsa algorithm in matlab 2 7,829 29-05-2017, 04:17 PM
Last Post: Priyanka Bidikar
  download liver tumor ct scan image in matlab with source code 4 7,987 21-05-2017, 09:54 PM
Last Post: abdulrahmanmashaal
  MATLAB codes needed for powerline communication 1 7,997 12-04-2017, 05:00 PM
Last Post: jaseela123d
  source code for student final year online clearance system 3 1,162 24-02-2017, 04:11 PM
Last Post: jaseela123d
  matlab code for wavelet based ofdm transmitter 1 921 24-02-2017, 11:18 AM
Last Post: ijasti
  code to extract brain tumor detection using matlab 2 1,062 17-10-2016, 04:32 PM
Last Post: girish123ak
  f5 algorithm steganography matlab code 2 863 04-10-2016, 03:00 AM
Last Post: [email protected]
  color image segmentation using jseg algorithm in matlab code 2 862 29-09-2016, 12:07 PM
Last Post: Guest
  pscad student version full version download 2 1,590 15-09-2016, 05:05 PM
Last Post: swathy murukan

Forum Jump: