#include "mylib.h"
#include <cassert>
#include <iostream>
Go to the source code of this file.
◆ main()
Definition at line 10 of file main.cpp.
13 cout <<
"Hello world!" << endl;
14 cout <<
" Grad Celsius = ";
17 float varK =
c2k(varC);
19 cout <<
" Kelvin : " << varK << endl;
20 cout <<
"####################\n";
22 c2kf(varC, varK, varF);
24 cout <<
" Kelvin : " << varK << endl;
25 cout <<
" Fahrenheit: " << varF << endl;
float c2k(float const grad_C)
void c2kf(float const grad_C, float &grad_K, float &grad_F)