please write in java
Attachments:
Answers
Answered by
1
java import.uitl.scanner;
class "area"{
Scanner Sc=new Scanner(System.in)
float length, breath,answer
{
void main()
system.out.println("enter length");
length=Sc.nextFloat;
system.out.println("enter breath");
breath=Sc.nextFloat;
answer=length*breath
system.out.println("answer+" you answer is= ");
)
)
the program above is to calculate area
rest figure out urself
class "area"{
Scanner Sc=new Scanner(System.in)
float length, breath,answer
{
void main()
system.out.println("enter length");
length=Sc.nextFloat;
system.out.println("enter breath");
breath=Sc.nextFloat;
answer=length*breath
system.out.println("answer+" you answer is= ");
)
)
the program above is to calculate area
rest figure out urself
Similar questions
Computer Science,
8 months ago
Physics,
8 months ago
Business Studies,
8 months ago
English,
1 year ago
Biology,
1 year ago
Biology,
1 year ago