Math, asked by Santhosh555, 1 year ago

write a program in java​

Answers

Answered by sweetmunda
1
hey mate here is my answer
I hope it will helps you

to write the program in Java,

Write the Java Source Code.
Save the File.
Open a Terminal.
Window.
The Java Compiler.
Change the Directory.
Compile Your Program. ...
and then, Run the Program.

plz say thank u

Answered by BRAINLYBOOSTER12
3

Let me give you an example of programming with Java (BlueJ)

//To determine the length of the wooden strip required to frame a photograph of length and breadth 32cm and 21cm respectively.

public class Frame

{

public static void main(String args[])

{

int a,b,c;

a=32;

b=21;

c=(a+b+a+b);

System.out.println("the length of the wooden strip required to frame a photograph of length and breadth 32cm and 21cm respectively in centimetres is ="+c);

}

}

Similar questions