Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprenda Challenge: Caesar Cipher Encoder | Text Analysis & Simple Ciphers
C# Strings & Text Processing

bookChallenge: Caesar Cipher Encoder

Tarefa

Swipe to start coding

Implement a function that encodes a message using a Caesar cipher with a specified shift value. The Caesar cipher shifts each letter in the message by the given amount, wrapping around the alphabet if necessary. Non-letter characters should remain unchanged.

  • Shift each uppercase and lowercase letter in message by shift positions in the alphabet.
  • Preserve the case of each letter.
  • Do not change any non-letter characters.
  • Return the encoded string.

Solução

Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 3. Capítulo 6
single

single

Pergunte à IA

expand

Pergunte à IA

ChatGPT

Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo

close

bookChallenge: Caesar Cipher Encoder

Deslize para mostrar o menu

Tarefa

Swipe to start coding

Implement a function that encodes a message using a Caesar cipher with a specified shift value. The Caesar cipher shifts each letter in the message by the given amount, wrapping around the alphabet if necessary. Non-letter characters should remain unchanged.

  • Shift each uppercase and lowercase letter in message by shift positions in the alphabet.
  • Preserve the case of each letter.
  • Do not change any non-letter characters.
  • Return the encoded string.

Solução

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 3. Capítulo 6
single

single

some-alt