View Code of Problem 26

#include<stdio.h>
#include<cstdlib>
#include<cmath>
#include<iostream>
#include<algorithm>
using namespace std;
typedef long long ll;
int main(){
      int  n;
      while(scanf("%d",&n)==1){
      
      double c=5.0/9*(n-32);
      printf("%.2f\n", c);

	  }
	  return 0;
}

Double click to view unformatted code.


Back to problem 26