// C code // This program will provide options for a user to calculate the square // or cube of a positive Integer input by a user. // Developer: Faculty CMIS102 // Date: Jan 31, XXXX #include <stdio.h> int Shrink(int value); int Shrink(int value) { return value/2; }
10
/usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/Scrt1.o: In function `_start': (.text+0x20): undefined reference to `main' collect2: error: ld returned 1 exit status
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!