Read a string from the user into a string named string1.
test it with the data: good mo...
![subject](/tpl/images/cats/informatica.png)
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
![ansver](/tpl/images/cats/User.png)
Answers: 3
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 04:30
How can you know if the person or organization providing the information has the credentials and knowledge to speak on this topic? one clue is the type of web site it is--the domain name ".org" tells you that this site is run by a nonprofit organization.
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 11:40
Design a pos circuit that displays the letters a through j on a seven-segment indicator. the circuit has four inputs w, x, y, and z which represent the last 4 bits of the uppercase ascii code for the letter to be displayed. thus, if wxyz = 0001 then "a" will be displayed. (any answer with 22 or fewer gates and inverters, not counting any for the inputs, is acceptable)
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 01:40
You have a linux system that has a 1000gb hard disk drive, which has a 90gb partition containing an ext4 filesystem mounted to the / directory and a 4gb swap partition. currently, this linux system is only used by a few users for storing small files; however, the department manager wants to upgrade this system and use it to run a database application that will be used by 100 users. the database application and the associated data will take up over 200gb of hard disk space. in addition, these 100 users will store their personal files on the hard disk of the system. each user must have a maximum of 5gb of storage space. the department manager has made it very clear that this system must not exhibit any downtime as a result of hard disk errors. how much hard disk space will you require, and what partitions would you need to ensure that the system will perform as needed? where would these partitions be mounted? what quotas would you implement? what commands would you need to run and what entries to /etc/fstab would you need to create? justify your answers.
Answers: 3
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 15:00
Barbara is interested in pursuing a career in the science and math pathway. which qualifications will her reach that goal? a.an advanced knowledge of physics and math b.an advanced knowledge of engineering and math c. an advanced knowledge of physics and robotics an d. advanced knowledge of machinery and math
Answers: 1
You know the right answer?
Questions
![question](/tpl/images/cats/mat.png)
Mathematics, 07.12.2020 09:10
![question](/tpl/images/cats/en.png)
English, 07.12.2020 09:10
![question](/tpl/images/cats/istoriya.png)
History, 07.12.2020 09:10
![question](/tpl/images/cats/mat.png)
Mathematics, 07.12.2020 09:10
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/ekonomika.png)
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/istoriya.png)
History, 07.12.2020 09:10
![question](/tpl/images/cats/mat.png)
Mathematics, 07.12.2020 09:10
![question](/tpl/images/cats/himiya.png)
Chemistry, 07.12.2020 09:10
![question](/tpl/images/cats/mat.png)
Mathematics, 07.12.2020 09:10
![question](/tpl/images/cats/mat.png)
Mathematics, 07.12.2020 09:10
![question](/tpl/images/cats/istoriya.png)
History, 07.12.2020 09:10
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 07.12.2020 09:10
![question](/tpl/images/cats/mat.png)
Mathematics, 07.12.2020 09:10
![question](/tpl/images/cats/en.png)
English, 07.12.2020 09:10
![question](/tpl/images/cats/mat.png)
Mathematics, 07.12.2020 09:10
![question](/tpl/images/cats/en.png)
English, 07.12.2020 09:10