[Solved] Fahrenheit to Celsius convert and printing problem [duplicate]

[ad_1]

You need to use String interpolation, otherwise it’s just text.

Replace c with \(c) to actually get the value of variable c value.
Also f with \(f) for the same reason.

var conversion = "\(f) degrees Fahrenheit = \(c) degrees Celsius"

5

[ad_2]

solved Fahrenheit to Celsius convert and printing problem [duplicate]