I am trying to fix this "error C2447: '{' : missing function header (old-style formal list?)" i looked over the program and cant find anything wrong. Here is my program.
#include <iostream>
#include <stdio.h>
#include "simpio.h"
#include "strlib.h"
#include "random.h"
using namespace std;
#define LowerLimit 0
#define UpperLimit 200
#define StepSize 20
double CelsiusToFahrenheit(double c);
int main()
{
int c;
printf("Fahrenheit Celsius");
for (c = LowerLimit; c <= UpperLimit; c += StepSize)
{
printf("%3d %f\n", c, CelsiusToFahrenheit(c));
}
system("pause");
}
double CelsiusToFahrenheit(double c);
{
return (9.0 / 5.0 * c + 32);
}