摘要: // 打折.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#includeusing namespace std;int _tmain(int argc, _TCHAR* argv[]){int a;double total;cout>a;if(95*a>300)total=(95*a)*0.85;else total=95*a;cout//#include //#include #include //定义数学函数 using namespace std;int _tmain(int argc, _TCHAR* argv[]) 阅读全文