Skip to content

Instantly share code, notes, and snippets.

@pdhoot
Created April 4, 2016 19:03
Show Gist options
  • Save pdhoot/98b5ab285936f7241372bbae1c6d6074 to your computer and use it in GitHub Desktop.
Save pdhoot/98b5ab285936f7241372bbae1c6d6074 to your computer and use it in GitHub Desktop.
#include <stdio.h>
#include <stdlib.h>
void print_message()
{
printf("This is the print_message function!\nYou are welcome here!");
}
int main()
{
int a = 5;
int b = 7;
int c = 3;
int d = 1;
int res = a*c;
res-=d;
res/=b;
printf("%d\n", res);
print_message();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment