Compiling C in Fedora Core 2
I have a very simple program that I am trying to compile for a class project. I'm using fedora core 2 and gcc as the compiler. I am using gedit to create the file. Here is the program.
/* This is sample.c program */
/* your name*/
pay = hours * rate;
printf (�\nHere is the pay amount: %d� , pay);
When i try to compile the program it returns several errors. Just curious what I am doing wrong. Any help is appreciated.