セクション 2. 章 9
single
Challenge: Strings
メニューを表示するにはスワイプしてください
タスク
スワイプしてコーディングを開始
Your task is to practice working with string variables in C#.
- Declare a string variable to store the title of a book. (
The Great Gatsby) - Declare a string variable to store the author's name. (
F. Scott Fitzgerald) - Assign a value of your choice to each variable ("The Great Gatsby" and "F. Scott Fitzgerald").
- Print the book title to the console.
- Print the author's name to the console.
- Make sure both values are printed, each on its own line.
Example output:
The Great Gatsby
F. Scott Fitzgerald
解答
すべて明確でしたか?
フィードバックありがとうございます!
セクション 2. 章 9
single
AIに質問する
AIに質問する
何でも質問するか、提案された質問の1つを試してチャットを始めてください