Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Changing The String Practice | Text Data Type
C++ Data Types
course content

Conteúdo do Curso

C++ Data Types

C++ Data Types

1. Introduction
2. Numerical Data Types
3. Text Data Type
4. Other Data Types and Concepts

Changing The String Practice

Here are the methods you learned in the previous chapter. You will need some of them to complete a task.

append

concatenate

insert

replace

Tarefa

Change the string "You should not pass" to "You shall not pass!" using the methods you learned from a previous chapter.

  • Replace the "should" with "shall".
  • Add a "!" to the end of a string.

Your program should output You shall not pass!.

Tarefa

Change the string "You should not pass" to "You shall not pass!" using the methods you learned from a previous chapter.

  • Replace the "should" with "shall".
  • Add a "!" to the end of a string.

Your program should output You shall not pass!.

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo

Tudo estava claro?

Seção 3. Capítulo 5
toggle bottom row

Changing The String Practice

Here are the methods you learned in the previous chapter. You will need some of them to complete a task.

append

concatenate

insert

replace

Tarefa

Change the string "You should not pass" to "You shall not pass!" using the methods you learned from a previous chapter.

  • Replace the "should" with "shall".
  • Add a "!" to the end of a string.

Your program should output You shall not pass!.

Tarefa

Change the string "You should not pass" to "You shall not pass!" using the methods you learned from a previous chapter.

  • Replace the "should" with "shall".
  • Add a "!" to the end of a string.

Your program should output You shall not pass!.

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo

Tudo estava claro?

Seção 3. Capítulo 5
toggle bottom row

Changing The String Practice

Here are the methods you learned in the previous chapter. You will need some of them to complete a task.

append

concatenate

insert

replace

Tarefa

Change the string "You should not pass" to "You shall not pass!" using the methods you learned from a previous chapter.

  • Replace the "should" with "shall".
  • Add a "!" to the end of a string.

Your program should output You shall not pass!.

Tarefa

Change the string "You should not pass" to "You shall not pass!" using the methods you learned from a previous chapter.

  • Replace the "should" with "shall".
  • Add a "!" to the end of a string.

Your program should output You shall not pass!.

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo

Tudo estava claro?

Here are the methods you learned in the previous chapter. You will need some of them to complete a task.

append

concatenate

insert

replace

Tarefa

Change the string "You should not pass" to "You shall not pass!" using the methods you learned from a previous chapter.

  • Replace the "should" with "shall".
  • Add a "!" to the end of a string.

Your program should output You shall not pass!.

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Seção 3. Capítulo 5
Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
We're sorry to hear that something went wrong. What happened?
some-alt