Answer:
Following are the program in Python langauge
person_name = input() # Read the person name by the user
person_age=0 #declared a vaiable person_age
person_age = int(input()) # read person_age by the user
person_age=person_age+5 # add 5 to person_age
print('In 5 years',person_name,'will be',person_age) # display the output
Output:
Amy
4
In 5 years Amy will be 9
Explanation :
Following is the description of code:
- Read the value of the "person_name" variable by the user by using the input function.
- Declared a variable person_age and initialized 0 with them.
- Read the value of "person_age" variable by user by using input function and convert into int by using int function
- Add 5 to "person_age" variable and store again them into the "person_age" variable.
- Finally, display the output which is mention in the question.
Hello!
I believe the answer you are looking for today is Honesty.
You did not clearly specify if the pencils and sticky notes belonged to the person, so I could only assume they were not. We can also use the elimination method.
Dependability - Taking home desk utensils does not show that they are not dependable. So we can eliminate this one.
Punctuality - It does not specified if the worker was late or not. So we can eliminate this one.
Self-confidence - Nothing here shows if the person is confident about their self or not. So we can too, eliminate this answer.
Answer:
The answer is TRUE. It is a TRUE statement.
Explanation:
Multivariate analysis is the analysis of simultaneous interactions between several variables. If two items are very correlated, they could all be included in the same index.
Answer:
import java.util.Scanner;
public class LapToMiles {
public static void main(String[] args) {
System.out.println("Enter Number of Miles");
Scanner in = new Scanner(System.in);
double numMiles = in.nextDouble();
double numberOfLaps = milestoLaps(numMiles);
System.out.printf("%.2f",numberOfLaps);
}
public static double milestoLaps(double numMiles){
//One lap = 0.25 miles
double numberOfLaps = numMiles/0.25;
return numberOfLaps;
}
}
Explanation:
Create a Method milestoLaps that converts number of laps to number of miles
Within the main method call milestoLaps and pass your entered value for miles
format the output with printf()