Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Вивчайте Challenge: Strings | Робота з Типами Даних
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
Основи C#

bookChallenge: Strings

Завдання

Swipe to start coding

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

single

Запитати АІ

expand

Запитати АІ

ChatGPT

Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат

close

bookChallenge: Strings

Свайпніть щоб показати меню

Завдання

Swipe to start coding

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

Рішення

Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 2. Розділ 9
single

single

some-alt