Computer Science, asked by creatingmyselfrn, 9 months ago

pleeease help me solve this

Attachments:

Answers

Answered by sureshraj7165
1

1.Scanner sc=newScanner(System.in);

System.out.println("Enter two integers")

int x=sc.nextint;

int y=sc.nextint;

z=Math.pow(x,2)+Math.pow(y,2);

2.Scanner sc=new Scanner (System.in);

int x=sc.nextint();

int y=sc.nextint();

z=Math.sqrt(Math.pow(x,2)-Math.pow(y,2))/2;

PLEASE MARK ME AS THE BRAINLIEST.

Similar questions