ADITYA

Welcome to the world of copycats

Learning without practice is of no use. Brain has a nature of adapting solutions by experiencing them andnot just by Copy them.

Java Practicals

Select Practical :

Practical : 1

AIM :

Write a Program that displays Welcome to Java, Learning Java Now and Programming is fun.

public class PR_1{
	public static void main(String[] args) {
		System.out.println("Welcome To Java, Lerning Java Now and Progrmaing is fun");
		}
}

Operating System Practicals

Select Practical :

Practical : 2

AIM :

Write a shell script to generate marksheet of a student. Take 3 subjects, calculate and display total marks, percentage and Class obtained by the student.

#!/bin/bash
echo "***********************"
echo "Marksheet for Student"
echo "***********************"
echo "Enter Marks of three subject"
echo "Physics"
read ph
echo "Chemistry"
read ch
echo "Maths"
read mt
sum1=`expr $ph + $ch + $mt`
echo "Sum of three subject is:"$sum1
per=`expr $sum1 / 3`
echo "Percentage:"$per
if [ $per -ge 60 ]
then
        echo "You get Distinction"
elif [ $per -ge 50 ]
then
        echo "You get First class"
elif [ $per -ge 40 ]
then
        echo "You get Second class"
else
        echo "You get Fail"
fi

Get Connected With Aditya

Contact Number: 94 27 30 39 39

Hii My name is Aditya Patel. I am Computer SciencE & Engineer student at Government Engineering College, Patan. If any query regarding this website You can email or what's app me. Thanks for visiting my site.