Hey Guys I need help.....I am new to programming and I am taking a C class. I use Dev C++ as my compiler. This is my code but when i run it Dos wont stay up....can you guys give me some info to keep dos open??? Thanks Clezzie
Code:
// This Program will convert Kelvin to degrees Rankin
#include <math.h>
#include <stdio.h>
int main()
{
/* Declare Vairables*/
int rankin = (9/5);
float kelvin = rankin - 459.67;
// print degrees in farenhiet
printf("Kelvin converted in to degrees is %4.2f\n",kelvin);
return 0;
}