Basic C programming.. logical error while converting Celsius to kelvin -
this question has answer here: c: converting farenheit celsius 3 answers #include <stdio.h> #include <stdlib.h> int main(void) { int celsius = 0, kelvin = 0; float farenheit; printf("enter boiling of water in celcius \n"); scanf("%d", &celsius); kelvin = 273 + celsius; farenheit = celsius * (9 / 5) + 32; printf("the boiling point of water in kelvin %d \n , in farenheit %f \n \n", kelvin, farenheit); printf("enter freezing point of water in celcius \n"); scanf("%d", &celsius); kelvin = 273 + celsius; farenheit = celsius * (9 / 5) + 32; printf("the freezing point of water in kelvin %d \n , in farenheit %f \n \n", kelvin, farenheit); return 0; } in eclipse, type code , i'm expecting ask me on console "enter boiling of water i...