answersLogoWhite

0


Best Answer

CLS

INPUT "Enter degrees in Celsius:";c

INPUT "Enter degrees in Fahrenheit:";f

a=(c*1.8)+32

b=5/9(f-32)

PRINT c;"degree Celsius=" a;"degree Fahrenheit"

PRINT f;"degree Fahrenheit=" b;"degree Celsius"

end

User Avatar

Wiki User

7y ago
This answer is:
User Avatar
More answers
User Avatar

Damoder Pandey

Lvl 2
1mo ago

Write a program to input temperature in fahrenheitand convert into equivalent

This answer is:
User Avatar

User Avatar

Anonymous

Lvl 1
3y ago

gchvjmnvjhvjhm

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Write a QBASIC program to convert a temperature in degrees Fahrenheit to degrees Celsius or vice versa depending on input?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How can one convert temperature in Celsius to Fahrenheit?

To convert temperature in Celsius to Fahrenheit, use the formula: Fahrenheit = (Celsius * 9/5) + 32. Simply multiply the temperature in Celsius by 9/5 and then add 32 to get the temperature in Fahrenheit.


What is the formula for temperature in Celsius or Fahrenheit?

The formula to convert Celsius to Fahrenheit is: F = (C x 9/5) + 32. The formula to convert Fahrenheit to Celsius is: C = (F - 32) x 5/9.


How do you convert celsius ti Fahrenheit?

To convert Celsius to Fahrenheit, multiply the Celsius temperature by 9/5 and then add 32. The formula is: (Celsius temperature × 9/5) + 32 = Fahrenheit temperature.


What formula is converted from Celsius to Fahrenheit?

To convert Celsius to Fahrenheit, you can use the formula: Fahrenheit = (Celsius x 9/5) + 32. Simply multiply the Celsius temperature by 9/5 and then add 32 to get the equivalent in Fahrenheit.


Program to convert given temperature from centigrade to Fahrenheit in pearl?

Here's a simple Perl program to convert a given temperature from Celsius to Fahrenheit: # Input temperature in Celsius my $celsius = 20; # Convert Celsius to Fahrenheit my $fahrenheit = ($celsius * 9/5) + 32; # Print the result print "$celsius degrees Celsius is equal to $fahrenheit degrees Fahrenheit\n"; You can replace the value of $celsius with any temperature you want to convert.


How do convert Celsius into Fahrenheit?

To convert Celsius to Fahrenheit, use the formula: Fahrenheit = (Celsius * 9/5) + 32. Multiply the temperature in Celsius by 9/5 and then add 32 to get the equivalent temperature in Fahrenheit.


If temperature is 2farenheit what is the temperature in Celsius?

To convert Fahrenheit to Celsius, you can use the formula: Celsius = (Fahrenheit - 32) / 1.8. Plugging in 2 Fahrenheit into the formula, the temperature in Celsius would be approximately -16.7 degrees Celsius.


How do you convert degree into frehenheit?

To convert degrees Celsius to Fahrenheit, you can use the formula: Fahrenheit = (Celsius x 9/5) + 32. Multiply the Celsius temperature by 9/5 and then add 32 to get the Fahrenheit temperature.


How do you convert -1.69 celsius into Fahrenheit?

To convert -1.69 degrees Celsius to Fahrenheit, use the formula: F = (C * 9/5) + 32 Where C is the temperature in Celsius and F is the temperature in Fahrenheit. Plugging in -1.69 for C, we get -1.69 * 9/5 + 32 = 28.502 Fahrenheit.


What are the formulas in conversion of temperature scale?

For conversion between fahrenheit, celsius, rankin and kelvin use the following formulas: Fahrenheit = Celsius * 9 / 5 + 32 Kelvin = Celsius + 273.15 Rankine = Fahrenheit + 459.6


Convert 3.3 degrees celsius in fahrenheit?

To convert Celsius to Fahrenheit, multiply the Celsius temperature by 1.8 and then add 32. 3.3 degrees Celsius is equivalent to 37.9 degrees Fahrenheit.


How do you convert temperature degrees from Fahrenheit to celsius?

To convert Fahrenheit to Celsius, use the formula: (°F - 32) x 5/9 = °C. Subtract 32 from the Fahrenheit temperature, then multiply the result by 5/9 to get the temperature in Celsius.