21.11.2008, 12:54
Quote:
Originally Posted by cosmy
pawn Код:
pawn Код:
|
pawn Код:
stock CelsiusToFahrenheit(degrees)
{
new f;
f = degrees*1.8;
f += 32;
return f;
}
native CelsiusToFahrenheit(degrees);
pawn Код:
stock FahrenheitToCelsius(degrees)
{
new c;
c = degrees * 1.8;
c -= 32;
return c;
}
native FahrenheitToCelsius(degrees);