import java.util.*;
import java.lang.String;
import java.io.*;
import java.util.Date;
import java.util.Timer;
class project
{
public static void main(String args[]) throws IOException
{
String sub1,sub2,sub3,sub4,sub5,sub6;
String name,sem;
int m1,m2,m3,m4,m5,m6,m7;
//Date dt = new Date(now.getTime()
int prn_no,seat_no,total;
float per;
float temp;
String msg="*";
long currentTimeInMillis = System.currentTimeMillis();
Date today = new Date( currentTimeInMillis );
Scanner in=new Scanner(System.in);
BufferedReader b=new BufferedReader(new InputStreamReader(System.in));
System.out.println("Enter name of student=");
name=b.readLine();
System.out.println("Enter prn number =");
prn_no=in.nextInt();
System.out.println("Enter name of semester=");
sem=b.readLine();
System.out.println("Enter Roll number =");
seat_no=in.nextInt();
System.out.println("Enter first subject name =");
sub1=b.readLine();
System.out.println("Enter marks =");
m1=in.nextInt();
System.out.println("Enter second subject name =");
sub2=b.readLine();
System.out.println("Enter marks =");
m2=in.nextInt();
System.out.println("Enter third subject name =");
sub3=b.readLine();
System.out.println("Enter marks =");
m3=in.nextInt();
System.out.println("Enter fourth subject name =");
sub4=b.readLine();
System.out.println("Enter marks =");
m4=in.nextInt();
System.out.println("Enter fifth subject name =");
sub5=b.readLine();
System.out.println("Enter marks =");
m5=in.nextInt();
System.out.println("\t\t\t\t\t\t DR.BABASAHEB AMBEDKAR MARATHWADA UNIVERSITY");
System.out.println("\t\t\t\t\t\t\tAurangabad-431004");
System.out.println("STUDENT NAME:"+name+"\t\t\tprn :"+prn_no+"\t\t\tSEAT NO:"+seat_no+"\t\t\tSEMESTER:"+sem);
System.out.println("------------------------------------------------------------------------------------");
System.out.println("\n\n| SUBJECTS"+"\t\t\t\t|\tMAXIMUM MARKS"+"\t|\t min marks"+"\t|\tOBTAINED MARKS");
System.out.println("------------------------------------------------------------------------------------");
if(m1>40)
msg="";
else
msg="*";
System.out.println("|"+sub1+"\t\t\t\t\t\t|\t100\t\t\t\t|\t40\t\t\t|\t"+m1);
if(m2>40)
msg="";
else
msg="*";
System.out.println("|"+sub2+"\t\t\t\t\t\t|\t100\t\t\t\t|\t40\t\t\t|\t"+m2);
//System.out.println(+sub2+"\t\t\t"+"|"+"\t\t100"+"\t\t\t"+"|"+"\t\t40"+"\t\t\t\t"+"|"+"\t\t"m2+msg+"\t|");
if(m3>40)
msg="";
else
msg="*";
System.out.println("|"+sub3+"\t\t\t\t\t\t|\t100\t\t\t\t|\t40\t\t\t|\t"+m3);
//System.out.println(+sub3+"\t\t\t"+"|"+"\t\t100"+"\t\t\t"+"|"+"\t\t40"+"\t\t\t\t"+"|"+"\t\t"m3+msg+"\t|");
if(m4>40)
msg="";
else
msg="*";
System.out.println("|"+sub4+"\t\t\t\t\t\t|\t100\t\t\t\t|\t40\t\t\t|\t"+m4);
//System.out.println(+sub4+"\t\t\t"+"|"+"\t\t100"+"\t\t\t"+"|"+"\t\t40"+"\t\t\t\t"+"|"+"\t\t"m4+msg+"\t|");
if(m5>40)
msg="";
else
msg="*";
System.out.println("|"+sub5+"\t\t\t\t\t\t|\t100\t\t\t\t|\t40\t\t\t|\t"+m5);
//System.out.println(+sub5+"\t\t\t"+"|"+"\t\t100"+"\t\t\t"+"|"+"\t\t40"+"\t\t\t\t"+"|"+"\t\t"m5+msg+"\t|");
System.out.println("------------------------------------------------------------------------------------");
total=m1+m2+m3+m4+m5;
System.out.println("\t\t\t\t\t\t\t\t\t\t\t\t\t"+"|"+"\t\t TOTAL ::"+total+"/500");
temp=(float)total/500;
per=temp*100;
System.out.println("\t\t\t\t\t\t\t\t\t\t\t\t\t"+"|"+"\t\t PERCENTAGE ::"+per+"%");
System.out.println("------------------------------------------------------------------------------------");
if(m1<40&&m2<40&&m3<40&&m4<40&&m5<40)
{
System.out.println("\t\t\t\t\t\t\t\t\t\t\t\t\t"+"|"+"\t\t RESULT ::DROPPED");
System.out.println("------------------------------------------------------------------------------------");
}
else if(m1<40&&m2<40m3<40&&m4<40&&m5<40)
{
System.out.println("\t\t\t\t\t\t\t\t\t\t\t\t\t"+"|"+"\t\t RESULT ::A.T.K.T.");
}
else if(per<35)
{
System.out.println("\t\t\t\t\t\t\t\t\t\t\t\t\t"+"|"+"\t\t RESULT ::FAILED");
}
else if(per>=35&&per<40)
{
System.out.println("\t\t\t\t\t\t\t\t\t\t\t\t\t"+"|"+"\t\t RESULT ::passed");
}
else if(per>=40&&per<59)
{
System.out.println("\t\t\t\t\t\t\t\t\t\t\t\t\t"+"|"+"\t\t RESULT :::passed with SECOND CLASS");
}
else if(per>=60&&per<75)
{
System.out.println("\t\t\t\t\t\t\t\t\t\t\t\t\t"+"|"+"\t\t RESULT :passed with first class");
}
else if(per>=75)
{
System.out.println("\t\t\t\t\t\t\t\t\t\t\t\t\t"+"|"+"\t\t RESULT :passed with DISTINCTION class");
}
System.out.println( today );
}
}
write a c program to display marks,total,average,grade using union
This is not a question so you do not need to use a question mark at the end of your sentence.
we use exclamation mark for "not equal to" function. for example: if we want to write 3 is not equal to 4
Create a data structure to store the details for each student: typedef struct student_t { char name[30]; unsigned age; unsigned mark; } student; Establish an array to store the student data: size_t max = 100; // replace 100 with the actual number of students student students[max]; Use a loop to enter the data: for (size_t i=0; i<max; ++i) { printf ("Student name: "); scanf ("%s", students[i].name); printf ("Student age: "); scanf ("%u", students[i].age); printf ("Student mark: "); scanf ("%u", students[i].mark); } Calculate and display the average mark: unsigned sum = 0; for (size_t i=0; i<max; ++i) sum += student[i].mark; printf ("Average mark: %d\n", sum / max_students);
you mean like show some sample output? Just put it in comments at the bottom. Run the program, and in the top left of the command prompt there is a button you can click. Select mark, highlight the output, then select copy. Paste it onto the end of the program.
hhh
by blue print
requestion letter to get mark sheet
It means an expression of surprise, pain or anger, etc and is denoted in print with this mark: ! Often people say or write 'exclamation' when they mean 'exclamation mark'.
i have lost my mark-sheet of 10. tell how would i get it i have lost my mark-sheet of 10. tell how would i get it
i wnt my sslc mark sheet
Mark sheet is the total collection of the mark which you have gain in the exam or any competition .
ADMISSION REQUIREMENTS FOR S.P.PPassport size PhotographsLeaving CertificatePassport copy (First & Last Page with Observation)10th Mark sheet, Credit Certificate12th Mark sheet, Credit CertificateDiploma's Mark sheet, Degree CertificateITI's Mark sheet, Degree CertificateBachelor's Mark sheet, Degree Certificate (Transcript) if requiredMaster's Mark sheet, Degree Certificate (Transcript) if requiredIELTS (Overall 6 Band and No Less than 5 Each Module minimum for SPP)Work Experience letter if anyCredit Card Details or DD in Favor of College or University(Application Fees)
It means an expression of surprise, pain or anger, etc and is denoted in print with this mark: ! Often people say or write 'exclamation' when they mean 'exclamation mark'.
You can write a letter to the principal explaining that you have lost your mark sheet and requesting a duplicate copy. Include details such as your name, roll number, date of birth, and any other information that can help them identify your records. Be polite and provide a genuine reason for the request.
my 1st sem mark sheet is correction, so i have a duplicate mark sheet
This is a statement with a question mark?