17 lines
332 B
C++
17 lines
332 B
C++
#include <iostream>
|
|
#include "volumeSphere.h"
|
|
using namespace std;
|
|
|
|
int main() {
|
|
float rayon;
|
|
float volume;
|
|
|
|
cout << "Entrez le rayon de votre sphère : " << endl;
|
|
cin >> rayon;
|
|
|
|
volume = volumeSphere(rayon);
|
|
|
|
cout << "le volume de votre sphère est " << volume << " u.a.²" << endl;
|
|
|
|
return 0;
|
|
} |