Computer Science, asked by Arinkishore, 1 year ago

please answer...these are java programs....please answer ticked program

Attachments:

Answers

Answered by siddhartharao77
3
1) class Student
{
public static void main(String args[])
{
System.out.println("Welcome to the world of computers");


2) class Details
{
public static void main(String args[])
{
System.out.println("Name: Hell");
System.out.println("Class:9th");
System.out.println("Roll no:777");
System.out.println("Marks:100");
System.out.println("Age:100");
}
}


3)Class Text
{
public static void main(String args[])
{
System.out.println("My World");
System.out.println("My World");
System.out.println("My World");
System.out.println("My World");
}
}


4)class Quote
{
public static void main(String args[])
{
System.out.println("Failures are the pillars of success");
}}


5) Class Operation
{
public static void main(String args[])
{
int a,b,c,d;
double e;
a = 20;
b = 30;
c = 40;
d = a + b + c;
e= d/3;

System.out.println("The sum is :" + d);
System.out.println("The average is : " + e);
}
}



Hope this helps!

Arinkishore: thank you
BrainlyPromoter: Nice answer Siddharth
siddhartharao77: Thank You Prince
BrainlyPromoter: welcome
Answered by BrainlyPromoter
2
Hello My Dear Friend,

A grand welcome to Brainly.

Hope Brainly's helping you.

✔KINDLY CONSULT THE PICTURES FOR YOUR ANSWER✔

Hope my answer will be helpful to you.

Note: IF YOU ARE NOT ABLE TO VIEW ALL THREE PICTURES THEN KINDLY OPEN BRAINLY ON WEBSITE AND SEE MY ANSWER.
Attachments:
Similar questions