Answer and Explanation
A database is an organised collection of a data which is stored and can be easily, managed, updated and can be accessed electronically when required. The reason for importing your data into the data base is because this data is secure from unauthorized people. This is because to access this data you need to login. You can also update it and access it electronically when the need be.
The answer is "underline gallery or underline drop-down". The user can access the decorative underlines and change the underline's color through the underline gallery. Underlines can be added for decoration purposes, to make your work look formal or creative.
Answer:
Explanation:
For the first questions the variable's name is <u>Today,</u> and is declared like a date variable, this will be returned a date value.
For the second question, where the browser will show today's date because with the variable Today, we get the date and with the document.write(Today) is shown the variable information.
With the third question, the result will be "Hello!", because the August is the 8 month, and July the 7, in this case the IF is False and for that will show "Hello!".
Answer:
import java.util.Scanner;
public class num1 {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
//Prompt and receive user input
System.out.println("Enter number of Steps");
int numSteps = in.nextInt();
double numMiles = numSteps/2000;
//Print the formated number of miles
System.out.printf("The equivalent miles is %.2f ",numMiles);
}
}
Explanation:
- This is solved using Java programming language
- Scanner class is imported and used to receive user input (number of steps walked)
- To convert number of steps to number of miles, we divide by 2000, Since the question says the pedometer treats walking 2,000 steps as walking 1 mile.
- Output the number of miles to 2 decimal places using java's printf() method
Answer community shares a cloud among organizations with similar computing needs