Зміст курсу
C++ Data Types
C++ Data Types
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
Завдання
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!
.
Дякуємо за ваш відгук!
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
Завдання
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!
.
Дякуємо за ваш відгук!
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
Завдання
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!
.
Дякуємо за ваш відгук!
Here are the methods you learned in the previous chapter. You will need some of them to complete a task.
append
concatenate
insert
replace
Завдання
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!
.