printer is an output device because,
A printer is a device that accepts text and graphic output from a computer and transfers the information to paper, usually to standard size sheets of paper.
So, a printer is an external hardware output device that takes the electronic data stored on a computer or other device and generates a hard copy of it.
therefore, it can be said that a printer is an output device
Answer:
To check if the year comes under each 100th year, lets check if the remainder when dividing with 100 is 0 or not.
Similarly check for 400th year and multiple 0f 4. The following C program describes the function.
#include<stdio.h>
#include<stdbool.h>
bool is_leap_year(int year);
void main()
{
int y;
bool b;
printf("Enter the year in yyyy format: e.g. 1999 \n");
scanf("%d", &y); // taking the input year in yyyy format.
b= is_leap_year(y); //calling the function and returning the output to b
if(b==true)
{
printf("Thae given year is a leap year \n");
}
else
{
printf("The given year is not a leap year \n");
}
}
bool is_leap_year(int year)
{
if(year%100==0) //every 100th year
{
if(year%400==0) //every 400th year
{
return true;
}
else
{
return false;
}
}
if(year%4==0) //is a multiple of 4
{
return true;
}
else
{
return false;
}
}
Explanation:
Output is given as image
Answer:
Use font colors that work well with your background.
Select font sizes that are appropriate for your delivery method.
Fonts should be appropriate for your audience.
Limit the number of fonts you use to three or four.
Hope this helps!
Answer:
<h2>Expectation </h2>
Explanation:
Expectation is an idea concerning what will happen in the future
Answer:
1000 megabytes are in a gigabyte
Explanation: