标签:blog http io ar sp on 2014 log cti
// // Copyright (C) 2014软件技术1班 // All rights reserved.(版权所有) //作者:A36 黄阿德 //完成日期:2014年12月3日 // using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication1 { class Program { static void Main() { double one, two; Console.WriteLine("请输入一个数:"); one = double.Parse(Console.ReadLine()); Console.WriteLine("请输入另一个数:"); two = double.Parse(Console.ReadLine()); Console.WriteLine("The Max value is:{0}", Max(one, two)); Console.ReadKey(); Max(one, two); } static double Max(double one,double two) { if (one < two) return two; return one; } } }
标签:blog http io ar sp on 2014 log cti
原文地址:http://blog.csdn.net/hbd0616/article/details/41704725