C#,C#の宿題片付けます。
at TECH
593:デフォルトの名無しさん
10/02/01 10:47:45
>>580
問題1:
Console.WriteLine("文字列を入力:");
string strInput = Console.ReadLine();
string strOutput = "";
for (int i = 1; i <= strInput.Length; i++) {
strOutput += strInput.Substring(strInput.Length - i, 1);
}
Console.WriteLine(strInput);
for (int i = 1; i+1 < strInput.Length; i++) {
Console.WriteLine(string.Format("{0} {1}", strInput.Substring(i, 1),
strInput.Substring(strInput.Length - i - 1, 1)));
}
Console.WriteLine(strOutput);
次ページ続きを表示1を表示最新レス表示スレッドの検索類似スレ一覧話題のニュースおまかせリスト▼オプションを表示暇つぶし2ch
4394日前に更新/147 KB
担当:undef