• 検索結果がありません。

–â‘èPDF N‰Èî•ñƒlƒbƒgƒ[ƒN“±“üƒ†ƒjƒbƒg‡UiCŒ¾Œê‡Uj

N/A
N/A
Protected

Academic year: 2018

シェア "–â‘èPDF N‰Èî•ñƒlƒbƒgƒ[ƒN“±“üƒ†ƒjƒbƒg‡UiCŒ¾Œê‡Uj"

Copied!
1
0
0

読み込み中.... (全文を見る)

全文

(1)

C言語Ⅱ 演習(2-3) ~文字列(3)~ 1

C

言語Ⅱ

演習

(

-

)

~文字列

(

)

教科書 9章

以下 問題 関 るプ グラムを作成し,ソースプ グラムを入力後,ビ ,実行し 実行結果を確認し さい. 実行 正しく確認 たら,プ グラムを ポー 用紙 写し,教員あるい TA 確認を受け 提出し さい.

お, ポー 用紙 問題番号,学籍番号,氏名を必 書くこ .

問題1. char型2次元配列:配列 初期化

3種類 文字列 最大9文字:英数半角 を格納 char型

2次元配列strを宣言し 以 中身 初期化し さい

つ目: Japan つ目: Italy つ目:France

続い 右 う str変数 格納さ い すべ 文字列を順

番 表示す プログラムを作成し さい 数字も表示し い こ

注意す

実行結果例 1.Japan 2.Italy 3.France

問題 . char型2次元配列:スペース入力

2種類 文字列 最大127文字:英数半角 を格納 char型

2次元配列strを宣言し さい

続い 右 う 質問 入力を行い 入力し 2 種類 文字列

str変数 格納 を順番 表示す プログラム

を作成し さい 入力 スペース 含ま 点 注意す こ

実行結果例 What's your name? My name is Jun. How old are you? 18 years old.

入力された文章は次です。 1: My name is Jun. 2: 18 years old.

※ はキーボード入力部です。

参照

関連したドキュメント

There is a bijection between left cosets of S n in the affine group and certain types of partitions (see Bjorner and Brenti (1996) and Eriksson and Eriksson (1998)).. In B-B,

Hence, the degree theory constructed in [1] is an extension of the classical Leray–Schauder degree in Hilbert space.. It is unique, single-valued and has the usual properties of

Lair and Shaker [10] proved the existence of large solutions in bounded domains and entire large solutions in R N for g(x,u) = p(x)f (u), allowing p to be zero on large parts of Ω..

We prove a continuous embedding that allows us to obtain a boundary trace imbedding result for anisotropic Musielak-Orlicz spaces, which we then apply to obtain an existence result

This paper is a sequel to [1] where the existence of homoclinic solutions was proved for a family of singular Hamiltonian systems which were subjected to almost periodic forcing...

のようにすべきだと考えていますか。 やっと開通します。長野、太田地区方面  

Algebraic curvature tensor satisfying the condition of type (1.2) If ∇J ̸= 0, the anti-K¨ ahler condition (1.2) does not hold.. Yet, for any almost anti-Hermitian manifold there

Although the choice of the state spaces is free in principle, some restrictions appear in Riemann geometry: Because Einstein‘s field equations contain the second derivatives of the