16 lines
311 B
C++
16 lines
311 B
C++
#include <iostream>
|
|
#include "Deg2Far.h"
|
|
using namespace std;
|
|
|
|
int main() {
|
|
// Convertion Degrés vers Farenheight
|
|
float deg;
|
|
float far;
|
|
|
|
cout << "Entrez la température en degrés : ";
|
|
cin >> deg;
|
|
|
|
far = deg2Far(deg);
|
|
cout << deg << "°C = " << far << "°F" << endl;
|
|
return 0;
|
|
} |