Challenge: Greeting Generator
Tarefa
Swipe to start coding
Create a program that generates a personalized greeting using a hardcoded name. The output should be produced in two ways: first, by concatenating the name with a greeting string, and second, by using string interpolation with the name.
- Return a greeting message that includes the provided name using string concatenation.
- Return a greeting message that includes the provided name using string interpolation.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 1. Capítulo 2
single
Pergunte à IA
Pergunte à IA
Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo
Incrível!
Completion taxa melhorada para 4.76
Challenge: Greeting Generator
Deslize para mostrar o menu
Tarefa
Swipe to start coding
Create a program that generates a personalized greeting using a hardcoded name. The output should be produced in two ways: first, by concatenating the name with a greeting string, and second, by using string interpolation with the name.
- Return a greeting message that includes the provided name using string concatenation.
- Return a greeting message that includes the provided name using string interpolation.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 1. Capítulo 2
single