Answer: C
Time shifting is when you move from one period in time to another.
A event block i know this im i have been in technology for 5 months
Answer:
Explanation:
The following is written in Java and creates the Employee class with the variables requested and a getter setter method for each variable
package sample;
public class Employee {
private String lastName, firstName, idNumber;
public void Employee() {
}
public String getLastName() {
return lastName;
}
public void setLastName(String lastName) {
this.lastName = lastName;
}
public String getFirstName() {
return firstName;
}
public void setFirstName(String firstName) {
this.firstName = firstName;
}
public String getIdNumber() {
return idNumber;
}
public void setIdNumber(String idNumber) {
this.idNumber = idNumber;
}
}
Answer:
total = 0
for i in range(5):
score = int(input("Enter a score: "))
total += score
average = total / 5
print("The average is " + str(average))
Explanation:
*The code is in Python.
Initialize the total as 0
Create a for loop that iterates five times. Inside the loop, ask the user to enter a score. Add the score to the total (cumulative sum)
After the loop, calculate the average, divide the total by 5
Print the average