A function that determines if a given year is a leap year:
#include<stdio.h>
int main()
{
//fill the code
int year, month;
scanf(“%d %d”,&month,&year);
if(!Leapyear(month, year))
{
if(month == 1 || month == 3 || month == 5 || month == 7 || month == 8 || month == 10 || month == 12)
printf(“Number of days is 31”);
else if(month == 2)
{
printf(“Number of days is 28”);
}
else
printf(“Number of days is 30 “);
return 0;
}
}
int Leapyear(int month, int year)
{
if((month == 2) && (year%4 == 0) || ((year%100 == 0) &&(year%400 == 0)))
{
printf(“Number of days is 29”);
return 1;
}
else
return 0;
}
An example of Context diagram that shows the Relevant system name and External Entities Input and output data flows is given in the image attached.
<h3>What is context diagram?</h3>
Context diagrams is known to be a depiction that is based on how external entities work together with a given system.
Note that it is said to be one of the most basic form of a data flow as it depicts a novel set of activities and also functions.
Therefore, An example of Context diagram that shows the Relevant system name and External Entities Input and output data flows is given in the image attached.
Learn more about Context diagram from
brainly.com/question/12972996
#SPJ6
Answer: Parallelogram A parallelogram is used to read data (input) or to print data (output). Rectangle A rectangle is used to show the processing that takes place in the flowchart. Diamond A diamond with two branches is used to show the decision making step in a flowchart.
HOPE THIS HELPS!!
Answer:
install and use the software after agreeing to the terms of the license.
Explanation:
A software can be defined as a set of executable instructions (codes) or collection of data that is used typically to instruct a computer how to perform a specific task and to solve a particular problem.
Basically, softwares are categorized into two (2) main categories and these are;
I. Open-source software.
II. Proprietary software.
A proprietary software is also known as a closed-source software and it can be defined as any software application or program that has its source code copyrighted and as such cannot be used, modified or distributed without authorization from the software developer. Thus, it is typically published as a commercial software that may be sold, licensed or leased by the software developer (vendor) to the end users with terms and conditions.
Some examples of proprietary software are Microsoft Windows, macOS, Adobe photoshop etc.
Hence, a proprietary software license allows users to install and use the software after agreeing to the terms of the license.
Answer:
Which describes a set amount of pay received by a worker over the course of a year? salary.