Answer:
// here is code in c.
#include <stdio.h>
// main function
int main()
{
// variable to store year
int year;
printf("enter year:");
// read the year
scanf("%d",&year);
// if year>=2101
if(year>=2101)
{
printf("Distant future");
}
//if year in 2001-2100
else if(year>=2001&&year<=2100)
{
printf("21st century");
}
//if year in 19011-2000
else if(year>=1901&&year<=2000)
{
printf("20th century");
}
// if year<=1900
else if(year<=1900)
{
printf("Long ago");
}
return 0;
}
Explanation:
Read the year from user.After this, check if year is greater or equal to 2101 then print "Distant future".If year is in between 2001-2100 then print "21st century".If year is in between 1901-2000 then print "20th century".Else if year is less or equal to 1900 then print "Long ago".
Output:
enter year:2018
21st century
We should Assign static addresses.
C. Assign static addresses
<u>Explanation:</u>
End-user has received 10 laser printer with network and he or she wants to install in his or her network LAN.
Normally any PC or workstation or desktop when connected DHCP address used where automatically dynamic IP address is generated and automatically can be connected if the router is enabled for DHCP address to generate.
But to a connect laser printer static IP address to be used. So that laser printer can be shared in network and end-user can take the print out very easily.
Answer:
Please see the attached picture for the complete answer.
Explanation:
Answer:
display: list-item
Explanation:
Cascading Style Sheets adds different styles to the web pages and documents. These can be adding different fonts, bullets, colors etc.
In display: list-item
display changes the display style of an element.
list-item is used to display the element or the content of the webpage such as here the yacht club rules in a bulleted list form. The element will be shown in this way <li>
list-item can also be used along
list-style-type and list-style-position
For example:
If the content is this line: "this is my computer"
it will be displayed as: