Answer:
import java.util.Scanner;
public class WeeklySalary {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
System.out.println("Enter Hourly wage");
double hourlyWage = in.nextDouble();
System.out.println("Enter total hours worked in the week");
int hoursWorked = in.nextInt();
int overtime = hoursWorked - 40;
double weeklyWage = 40*hourlyWage;
System.out.println("Total Over Time Hours is: "+overtime);
double overTimeWage = overtime*(hourlyWage*1.5);
System.out.println("Wage for full time: "+ weeklyWage);
System.out.println("Wage for over time: "+ overTimeWage);
}
}
Explanation:
- Using Java programming language
- Import the Scanner class to receive user input
- prompt user for hourly wage rate, receive and save in a variable
- Prompt user for total hours worked for the week receive and save in a variable
- calculate overtime hours by subtracting 4 from total hours worked in the week
- Calculate weekly wage by multiplying hourly rate by 40
- Calculate overtime by multiplying overtime hours by (hourlyWage*1.5).
- See attached sample run of the code
Answer:
Time plot.
Explanation:
A time plot, also known as a time series can be defined as a graphical representation of a pre-defined value (data) against time.
If we recorded the average U.S. Housing Price every month for the next year, the graphical display which is most appropriate to display the data is a time plot.
Generally, when representing data that changes with respect to time or that are random in nature; a time plot is considered to be the most effective graphical display to use.
In this scenario, the average U.S. Housing Price that is observed should be plotted against the time of occurrence (months) over a year.
Answer:
Extension lines are used to indicate the extension of a surface or point to a location preferably outside the part outline.
Explanation:
Answer:
I know nothing about this
1 algorithm
2 sequential
3 selection
4 loop
5 boolean
6 variables
7 expression
8 concatenation
9 operator
10 function
11 argument
12 event
13 event handler
14 class
15 object
16 instance
17 properties
18 methods
19 parameters