public static void Main()
GatherInput input1 = new GatherInput("Enter Value 1 as a whole number:");
ConvertFtoC calculation = new ConvertFtoC(input1.MyValue);
GenerateOutput output1 = new GenerateOutput("Result is:", calculation.getResult());
public ConvertFtoC(string inputString) {
this.value1 = float.Parse(inputString);
this.result = (this.value1 - 32) * 5/9;
public string getResult() {
return this.result.ToString();
public GatherInput(string PromptText){
Console.WriteLine(PromptText);
this.myValue = Console.ReadLine();
public class GenerateOutput
private string initialValue;
public GenerateOutput(string PromptText, string OutputValue){
Console.WriteLine(PromptText + " " + OutputValue + ".");