Ayşıl Yilmaz

Ayşıl Yilmaz

  • NA
  • 21
  • 1.6k

Display numbers in listbox using a for loop

Oct 22 2020 5:41 PM
Develop a form C# to display the Fahrenheit temperature and corresponding Celsius temperature for Fahrenheit temperatures ranging from –40 to +40 degrees, at increments of 10. Use a for loop. Celsius = (Fahrenheit - 32) * 5/9
 
how would I write the code to get both celsius and Fahrenheit in the list box side by side?

Answers (2)