编写代码如下:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _1
{
class Program
{
static void Main(string[] args)
{
//输入3个整数 求其中最大值的平方
Console.WriteLine("请输入3个整数:(每输完一个按回车结束)");
int x = Convert.ToInt32(Console.ReadLine());
int y = Convert.ToInt32(Console.ReadLine());
int z = Convert.ToInt32(Console.ReadLine());
if (x > y &&x>z)
Console.WriteLine("最大的数为{0},他的平方是:{1}", x, x * x);
if (y> x &&y>z)
Console.Write