`
#include<iostream.h>
#include<conio.h>
void main()
int n;
int f,c;
cout<<"1:enter the faranheit value to convert:";
cin>>f;
cout<<"2:enter the celscious value to convert:";
cin>>c;
clrscr();
switch(n)
{
case 1:
ftoc(c);
break;
case 2:
ctof(f);
break;
default:
cout<<"try 1 or 2";
}
getch();
}
float ctof(float d)
{
d=d*9/5+32;
cout<<"faranheit value is:"<<d;
return d;
}
float ftoc(float f)
{
f=(f-32)*5/9;
cout<<"celcious value is:"<<f;
return f;
}
`
okay this must looks stupid but I am new to the prograaming...why I am getting error "function "ftoc and ctof" shold have prototype"