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
The light bulb is important because it helps you see in the dark.
The light bulb is a round object that produces light from energy.
People can't live without the light bulb because it helps you out a lot such as see in the dark like when you do homework at night.
It could help businesses profit because many will want to buy it cause they can be cheap but many will sell and it could help you a lot!
Answer:
Spelling Task Pane
Explanation:
According to my research on Microsoft Office Studio, I can say that based on the information provided within the question the feature being mentioned in the question is called the Spelling Task Pane. By selecting this pane word will offer various grammar and spelling assistance, such as correcting words and offering one or more suggestions.
I hope this answered your question. If you have any more questions feel free to ask away at Brainly.
Dell was using the cost leadership strategy but is now using differentiation leadership strategy.
#learnwithBrainly
Answer:
c i think it mit be right i'm sorry if it's not ,
Explanation:
it's c or D.