please write in java
Attachments:
![](https://hi-static.z-dn.net/files/df0/9b5f3950c3ce804e4dabc0de4ec39b53.jpg)
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
Math,
8 months ago
Computer Science,
8 months ago
English,
1 year ago
Biology,
1 year ago
Biology,
1 year ago