度分秒输入纬度 度输出

来源:互联网 发布:飞行器发动机 知乎 编辑:程序博客网 时间:2024/05/01 22:44
#include "stdafx.h"#include "windows.h"#include "iostream"#include "stdlib.h"#include "climits"using namespace std;int main(int argc, char* argv[]){double D;int d,f,m;cout<<"Please input D,F,M\n";cin>>d>>f>>m;D=f/60+d+m/120;cout<<D<<endl;system("pause");return 0;}

原创粉丝点击