using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication3
{
class Program
{
static void Main(string[] args)
{
int i = 0;
int max=0;
max = Convert.ToInt32(Console.ReadLine());
while (i < 9)
{
i++;
int num;
num = Convert.ToInt32(Console.ReadLine());
if (num > max)
{
max=num;
}
}
Console.WriteLine(max);
Console.ReadLine();
}
}
}
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication3
{
class Program
{
static void Main(string[] args)
{
int i = 0;
int max=0;
max = Convert.ToInt32(Console.ReadLine());
while (i < 9)
{
i++;
int num;
num = Convert.ToInt32(Console.ReadLine());
if (num > max)
{
max=num;
}
}
Console.WriteLine(max);
Console.ReadLine();
}
}
}
using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication6
{
class Program
{
static void Main(string[] args)
{
MaxNumber mymax;
mymax = new MaxNumber();
int my = mymax.Max();
Console.WriteLine(my);
Console.ReadLine();
}
}
class MaxNumber
{
public int Max()
{
int i = 0;
int max = 0;
max = Convert.ToInt32(Console.ReadLine());
while (i < 9)
{
i++;
int num;
num = Convert.ToInt32(Console.ReadLine());
if (num > max)
{
max = num;
}
}
return (max);
}
}
}
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication6
{
class Program
{
static void Main(string[] args)
{
MaxNumber mymax;
mymax = new MaxNumber();
int my = mymax.Max();
Console.WriteLine(my);
Console.ReadLine();
}
}
class MaxNumber
{
public int Max()
{
int i = 0;
int max = 0;
max = Convert.ToInt32(Console.ReadLine());
while (i < 9)
{
i++;
int num;
num = Convert.ToInt32(Console.ReadLine());
if (num > max)
{
max = num;
}
}
return (max);
}
}
}
PR
Comment
コメントの修正にはpasswordが必要です。任意の英数字を入力して下さい。
プロフィール
HN:
伊兒
性別:
非公開
自己紹介:
伊兒ですにゃー
吃貨一只,懶蟲一只。
吃貨一只,懶蟲一只。
カレンダー
02 | 2025/03 | 04 |
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
最新記事
(10/02)
(09/22)
(09/19)
(09/18)
(09/18)
(09/17)
(09/15)
(09/01)
(08/28)
(08/27)
最新コメント
[12/08 yrn1ksjv9q4]
[02/07 NONAME]
[02/07 山风]
[12/20 asian escorts dubai]
[11/14 NONAME]
カテゴリー
最新トラックバック
フリーエリア
ブログ内検索
P R
カウンター