Skip to content

Instantly share code, notes, and snippets.

Created February 11, 2018 15:48
What would you like to do?
#include <stdio.h>
int multiply(int);
int main(void)
// Try using a debugger to figure out what is going wrong
for(int i = 900; i < 905; i++)
int mynumber = multiply(i);
if (mynumber > 0)
printf("You won %d bonus points!\n", mynumber);
printf("Something went wrong! Try again later!\n");
int multiply(int num)
int result = num * 2376000;
return result;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment