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();
}
}
The stance that a person will take on increasing the minimum wage is that higher earnings would boast the total standard of living for anyone that is earning minimum wage and it is one that can provide them with a lot of appropriate income level to manage the cost of living as it increases.
<h3>How would you validate your stance through research?</h3>
I will take a survey using a sample population of minimum wage workers and give them questionnaires to fill.
<h3>What are positive effects of reasons for raising the minimum wage?</h3>
- The merit of raising the minimum wage are:
- It boast or Improves employee in terms of retention.
- It also brings up the demand for goods and services.
- It tends to increase employee performance.
Therefore, The stance that a person will take on increasing the minimum wage is that higher earnings would boast the total standard of living for anyone that is earning minimum wage and it is one that can provide them with a lot of appropriate income level to manage the cost of living as it increases.
Learn more about minimum wage from
brainly.com/question/26699459
#SPJ1
Answer: precision
Explanation: Because accuracy is where you keep on getting it right but precision is where you get closer and closer
Answer:
Cylindrical
Explanation:
<em>A cylindrical grinder </em><em>is a tool for shaping the exterior of an item. Although cylindrical grinders may produce a wide range of forms, the item must have a central axis of rotation. Shapes such as cylinders, ellipses, cams, and crankshafts are examples of this.</em><em> Cylindrical grinding</em><em> machines are specialized grinding machines that are used to process cylinders, rods, and similar workpieces. The cylinders revolve in one direction between two centers, while the grinding wheel or wheels are close together and rotate in the other direction.</em>
Answer:
The statement can be written as
int result = cube(4);
Explanation:
A function is a block of reusable codes to perform some tasks. For example, the function in the question is to calculate the cube of a number.
A function can also operate on one or more input value (argument) and return a result. The <em>cube </em>function in the question accept one input value through its parameter <em>number </em>and the <em>number</em> will be multiplied by itself twice and return the result.
To call a function, just simply write the function name followed with parenthesis (e.g. <em>cube()</em>). Within the parenthesis, we can include zero or one or more than one values as argument(s) (e.g. <em>cube(4)</em>).
We can then use the "=" operator to assign the return output of the function to a variable (e.g. <em>int result = cube(4)</em>)