Answer:
see explaination
Explanation:
import java.util.InputMismatchException;
import java.util.Scanner;
public class calculate {
static float a=0,b=0;
double cal()
{
if(a==0||b==0)
{
System.out.println("no values found in a or b");
start();
}
double x=(a*a)+(b*b);
double h=Math.sqrt(x);
a=0;
b=0;
return h;
}
float enter()
{
float val=0;
try
{
System.out.println("Enter side");
Scanner sc1 = new Scanner(System.in);
val = sc1.nextFloat();
return val;
}
catch(InputMismatchException e)
{
System.out.println("Enter correct value");
}
return val;
}
void start()
{
calculate c=new calculate();
while(true)
{
System.out.println("Enter Command");
Scanner sc = new Scanner(System.in);
String input = sc.nextLine();
switch(input)
{
case "A":
a=c.enter();
break;
case "B":
b=c.enter();
break;
case "C":
double res=c.cal();
System.out.println("Hypotenuse is : "+res);
break;
case "Q":
System.exit(0);
default:System.out.println("wrong command");
}
}
}
public static void main(String[] args) {
calculate c=new calculate();
c.start();
}
}
Answer:
A. National Highway Safety Act
Explanation:
The National Highway Safety Act establishes general guidelines concerning licensing, vehicle registration and inspection, and traffic laws for state regulations. The act was made in 1966 to reduce the amount of death on the highway as a result of increase in deaths by 30% between 1960 and 1965
National Traffic and Motor Vehicle Safety Act regulates vehicle manufacturers by ensuring national safety standards and issuance recalls for defective vehicles
Uniform Traffic Control Devices Act defines shapes, colors and locations for road signs, traffic signals, and road markings
Answer:
Georgia Tech is committed to WGAR 53566 THE ANSWER IS JELLY IS KING AND THE JELLY IS KING AND hope to improve the human condition in your community.
Explanation:
Answer:
ideal fluid follow Newtonian law
that is, shear stress is directly proportional to rate change of shear strain.
watch handwritten explanation
Answer:
If you mean two sides are 7 and two sides are 14 then you'd have 42
and for the second you'd have 14
Explanation:
7 + 7 = 14, 14 + 14 = 28, 14 + 28 = 42
3 + 3 = 6, 4 + 4 = 8, 8 + 6 = 14