Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lära Challenge: Personalized Greetings | Functions with Different Signatures
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
C# Methods & Modular Thinking

bookChallenge: Personalized Greetings

Uppgift

Swipe to start coding

Write a method that accepts a string parameter for a name and prints a greeting message using that name.

  • The method must use the provided name parameter to create a personalized greeting message.
  • The greeting message must include the name within the text.
  • The greeting message must be printed using a single output statement.

Lösning

Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 1. Kapitel 2
single

single

Fråga AI

expand

Fråga AI

ChatGPT

Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal

Suggested prompts:

Can you explain this in simpler terms?

What are the main points I should remember?

Can you give me an example?

close

bookChallenge: Personalized Greetings

Svep för att visa menyn

Uppgift

Swipe to start coding

Write a method that accepts a string parameter for a name and prints a greeting message using that name.

  • The method must use the provided name parameter to create a personalized greeting message.
  • The greeting message must include the name within the text.
  • The greeting message must be printed using a single output statement.

Lösning

Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 1. Kapitel 2
single

single

some-alt