In: Computer Science
#include <stdio.h>
int main() {
int num;
float r;
//reading number
printf("Enter starting number: ");
scanf("%d",&num);
printf("Celcius\tRanking\n");
//loping 25 lines from given number
for(int i=num;i<=num+25;i++){
r = 9.0/5 * (i + 273.15);
printf("%d\t%.2f\n",i,r);
}
}
Note : Please comment below if you have concerns. I am here to help you
If you like my answer please rate and help me it is very Imp for me