Sir, i am struck here. Using methods,I wnated to input temperature in farenheit and wanted to get output in celsisu. this is my requirement .
1. also i get confused what should go in to brackets of method . For example in this case of method name converted, in the brackets should "temperaturef" be there or "temperaturec" be there?
class FahrenheittoCelsiusConversion
{
static float Main()
{
float temparaturef = float.Parse(Console.ReadLine());
converted();
}
static float converted(float temperaturef)
{
float temperaturec=(temperaturef-32)*5/9;
}
harish reddyPosted Feb 1, 2018, 12:35 AM
RahulPosted Jan 31, 2018, 11:17 PM
Dharmraj ThakurPosted Jan 31, 2018, 11:09 PM
harish reddyPosted Jan 31, 2018, 10:51 PM
RahulPosted Jan 31, 2018, 10:38 PM