Answer:
if you are finding to be a pilot you can find it at jinnah airport
Explanation:
Answer:
import java.util.Scanner;
public class LabProgram {
public static void main(String[] args) {
Scanner scnr = new Scanner(System.in);
int inputYear;
boolean isLeapYear;
isLeapYear = false;
inputYear = scnr.nextInt();
// If a year is divisible by 400, then it is a leap year
if (inputYear % 400 == 0)
isLeapYear = true;
// If a year is divisible by 100, then it is not a leap year
if (inputYear % 100 == 0)
isLeapYear = false;
// If a year is divisible by 4, then it is a leap year
if (inputYear % 4 == 0)
isLeapYear = true;
if(isLeapYear)
System.out.println(inputYear + " is a leap year.");
else
System.out.println(inputYear + " is not a leap year.");
}
}
Explanation:
- Take the year as an input from user and store it to inputYear variable.
- If the year is a century year, check if the year is divisible by 400 ( the year must be evenly divisible by 400 ), then set the boolean isLeapYear to true. If a year is divisible by 100, then set the boolean isLeapYear to false. If a year is divisible by 4, then set the boolean isLeapYear to true.
- Check if isLeapYear is true, then print that it is a leap year. Otherwise, print that it is not a leap year.
Output:
1712
1712 is a leap year.
Answer: I believe the correct order is:
Create a box and title it as the “Home Page” → Branch out pages and specify navigation flow → Gather information such as text and images → Determine the title, heading, and content for each page → Draw a layout of each web page with its elements.
Explanation: It makes sense, you start with your "Home Page", then you follow the steps of planning to map out your site's navigation. You have to gather information about it before you have enough knowledge about it to determine the title, heading, and content. You also need to know the content to create a clean and workable layout for the page.
Answer:
weightPound = float(input("Enter your weight in pounds "))
heightInches = float(input("Enter your height in inches "))
weightKg = weightPound*0.453592
heightMeter = heightInches*0.0254
BodyMassIndex = weightKg/(heightMeter*heightMeter)
print("")
print("Your Weight in kilograms is: ")
print(weightKg)
print("Your Height in meters is: ")
print(heightMeter)
print("Your Body Mass Index is: ")
print(BodyMassIndex)
Explanation:
- Above is a Python Script to accomplish the task
- See attached image for the program output.
- Observe that we used the formula weight/height*height to calculate the Body Mass Index
- Observe also the conversion from pounds to Kilogram and inches to meters