Created
December 24, 2017 16:46
-
-
Save hocarm/c32b76dc8bea6b39fb1a367efa59331a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//**** 0. Documentation Section | |
// This program calculates the area of square shaped rooms | |
// Author: Ramesh Yerraballi & Jon Valvano | |
// Date: 6/28/2013 | |
// | |
// 1. Pre-processor Directives Section | |
#include <stdio.h> // Diamond braces for sys lib: Standard I/O | |
#include "uart.h" // Quotes for user lib: UART lib | |
// 2. Global Declarations section | |
// 3. Subroutines Section | |
// MAIN: Mandatory routine for a C program to be executable | |
int main(void) { | |
UART_Init(); // call subroutine to initialize the uart | |
printf("This program calculates areas of square-shaped rooms\n"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment