度分秒输入纬度 度输出

#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;
}

你可能感兴趣的:(input,include)