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: D) Content creator
Explanation:
- Content creator are responsible for creating the original content of the website. They contribute writing the blog posts about various topics and promote the content with the help of digital and social media.
- Content creator are basically responsible for writing blog post on the industry based topics, graphic design and video editing.
Content editor uses data and evaluation from the users for analysis. It basically includes design and development to enhanced the material on the website.
Static and dynamic information are related to computer terminologies.
Therefore, (D) option is correct.
Answer:
The answer is "True".
Explanation:
The web page is also known as a home page when it collects more than one page, it is called website. In web page designing, it uses the HTML for design a page and is also available via the web or other networks.
- When we insert a URL address to the Web page, it means, it contains the text, graphics, and hyperlinks to other Web pages and files.
- It also displays all the data on the page, that's why the given statement is true.
Is this a multiple choice question?
Answer: D
Local news channels
Explanation:
Since Jack is trying to improve local service the local news would be the best fit to reach the maximum amount of people in his area.