CITS3007-labs/lab01-leap-year/README.md
2023-08-03 18:45:02 +00:00

21 lines
383 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# CITS3007 lab 1 demo repository leap year
This repository contains a Makefile and C code for a program (`test_leap`)
intended to show whether a year (supplied as a command-line argument) is a leap
year or not.
## Building
Build with `make`.
## Use
The program can be run by supplying a year as a command-line argument:
```
$ ./test_leap 1901
1901 is not a leap year
```