The program that computes the area of a circle is represented as follows:
x = int(input("Write the length of the radius of the circle: "))
area = 3.14 * x**2
print(area)
The code is written in python
<h3>Code explanation:</h3>
- The first line of code ask the user to input the length of the radius. The variable x is used to store the user's input.
- The variable "area" is used to store the arithmetic manipulation of area of a circle.
- Then, we print the variable "area". This will print the actual area of the circle with the particular radius you inputted.
learn more on python program: brainly.com/question/16398286?referrer=searchResults
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
Office Open XML (OOXML) format was introduced with Microsoft Office 2007 and became the default format of Microsoft Word ever since. Pertaining file extensions include: .docx – Word document. .docm – Word macro-enabled document; same as docx, but may contain macros and scripts.
Answer:
1. The reason hunting seasons are displayed all over the world in cave paintings is because of the necessity to hunt. Ancient people everywhere were nomads that relied on wild animals for the majority of their calories. The paintings likely served as an expression of the importance of hunting to their culture. It could have also been used as educational material for very young children to learn about hunting as well as its importance to their community.
Explanation:
I can't do 2nd because the image was cut off, sorry.