This code is supposed to calculate and print out the temperature where the temperature in celsius is the same in Fahrenheit. So it should print -40 but instead it prints nothing. Please help.
Code:#include<iostream> using namespace std; int main() {int celsius=100, fahrenheit; do { fahrenheit=9/5*celsius+32; celsius--;} while(celsius+1!=fahrenheit); cout<<"Celsius and fahrenheit are the same at "<<fahrenheit; return 0; }