excusez c'est ça!
- include <iostream>
- include <stdlib.h>
- include <stdio.h>
using namespace std;
int main()
{
cout << "Hello world!" << endl;
int age;
cout << "Entre ton age! : ";
cin >> age;
if (age < 10)
{
cout << "Tu ne peux pas entrer: tu es trop petit pour t interesse a ca."<< endl;
}
int celsius;
cout << "Entre une temperature en celsius : ";
cin >> celsius;
int factor;
factor = 212 - 32;
int fahrenheit;
fahrenheit = factor * celsius/ 100 + 32;
cout << "Voici la conversion en fahrenheit : ";
cout << fahrenheit << endl;
system ("PAUSE");
return 0;
}