Preview:
#include <iostream>
#include <cmath>
using namespace std;

int main()
{
    int angleDegres, angleMinutes, angleSecondes;
    double angleRadians;
    cout << "Entrez angleDegres, angleMinutes et angleSecondes: ";
    cin >> angleDegres >> angleMinutes >> angleSecondes;
    angleRadians = 3.14 * (angleDegres + (angleMinutes + (angleSecondes) / 60) /60) /180; 
    
    cout << "angleRadians = " << angleRadians << endl;
}
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter