Skip to content

Instantly share code, notes, and snippets.

@bananaappletw
Created October 27, 2016 04:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bananaappletw/bd42f794f1ddcfaff331dd380c5a8dcd to your computer and use it in GitHub Desktop.
Save bananaappletw/bd42f794f1ddcfaff331dd380c5a8dcd to your computer and use it in GitHub Desktop.
Bamboofox club lecture
#include<stdio.h>
int sum(int i,int j)
{
int sum;
sum=i+j;
return sum;
}
int main(void)
{
int i;
int j;
int k;
scanf("%d%d",&i,&j);
k=sum(i,j);
printf("Sum:%d\n",k);
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment