Секція 1. Розділ 17
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
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 1. Розділ 17
single
Запитати АІ
Запитати АІ
Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат