Conversion from Fahrenheit to Celsius

Whats wrong in this code.
Not accepting it
plz reply asap

@mangla.chirag
Three changes required in your code.

  1. Use single space to seperate your outputs rather than double spaces. Stick to the output format specified.
  2. Comment out the line in which you are printing max and a after the loop. It either gives a repeated output or an unncessary output .
  3. Instead of 0.55 as the changing factor , use 5/9 for the calculations as rounding off will seems to be giving you incorrect answers.

https://ide.codingblocks.com/s/107912 This is updated code

@mangla.chirag
Use int for your program only. As the answers are required as int only , we should use int for calculations as well or it creates a problem.
Also , while doing the calculations , multiply with 5 first , then divide by 9 i.e.
x = (min-32)*5/9; instead of x = ((min-32)/9)*5;
Also make the first two changes I suggested in my previous reply.