View Code of Problem 26

#include <iostream>
using namespace std;

int main(){
  double n;
  while(scanf("%lf",&n)!=EOF){
    printf("%.2lf",5/9(n-32));
  }
}
/*
Main.cc: In function 'int main()':
Main.cc:7:28: error: expression cannot be used as a function
     printf("%.2lf",5/9(n-32));
                            ^
*/

Double click to view unformatted code.


Back to problem 26