Read a string from the user into a string named string1.
test it with the data: good mo...
Computers and Technology, 28.01.2020 02:31 sanchezr7187
Read a string from the user into a string named string1.
test it with the data: good morning
print the following heading and the data contained in string1:
exercise 1
good morning
exercise 1.2.2
create a new string named string2 containing the contents from string1.
append the following text to the end of string 2.
sleepy heads
(note that there is a space before sleepy.)
print the following heading and the data contained in string2:
exercise 2
good morning sleepy heads
exercise 1.2.3
create string3 with an initial value of:
bellow cello fellow hello mellow novello othello pillow rollo solo yellow
find the location of the first h in string3
print the following heading and the location found in string3:
exercise 3
20
exercise 1.2.4
create an empty string named string4.
copy string3 into string4.
using the location found in exercise 3,
change the first h into j
print the following heading and the data contained in string4:
exercise 4
bellow cello fellow jello mellow novello othello pillow rollo solo yellow
exercise 1.2.5
create a copy of string3 named string5.
use the find_last_of member function to find the position of the last l
print the following heading and the position of the last l
exercise 5
69
exercise 1.2.6
create a new string named string6 containing the contents from string3.
using the position of the last l found in exercise 5, erase all
characters from string6 following the last l
print the following heading and the data contained in string6:
exercise 6
bellow cello fellow hello mellow novello othello pillow rollo solo yell
Answers: 3
Computers and Technology, 22.06.2019 18:30
The "instance" relationship shows that something is an object of a
Answers: 1
Computers and Technology, 22.06.2019 21:50
Answer the following questions regarding your system by using the commands listed in this chapter. for each question, write the command you used to obtain the answer. a. what are the total number of inodes in the root filesystem? how many are currently utilized? how many are available for use? b. what filesystems are currently mounted on your system? c. what filesystems are available to be mounted on your system? d. what filesystems will be automatically mounted at boot time?
Answers: 1
Computers and Technology, 23.06.2019 22:30
What would be the address of the cell, which is at the intersection of the second row and the third column in a worksheet?
Answers: 1
Computers and Technology, 24.06.2019 10:00
(, urgent need): how do i change my username
Answers: 1
Mathematics, 09.08.2021 20:30
Mathematics, 09.08.2021 20:30
Biology, 09.08.2021 20:30
Mathematics, 09.08.2021 20:30
Mathematics, 09.08.2021 20:30
Computers and Technology, 09.08.2021 20:30
Physics, 09.08.2021 20:30
Business, 09.08.2021 20:30
Mathematics, 09.08.2021 20:30
Business, 09.08.2021 20:30