subject

Write a C++ Code to get a multiline statement Str1 from a user with a ‘$’ as return character (Hint: using getline function). Write a function to create another string Str2 that will contain the last half part of a string Str1 plus the reverse of first half of a string Str1 (Hint: use concatenation and remove enter character with space).

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 24.06.2019 02:40
Has anyone seen my grandma shes been gone for 4 years already
Answers: 1
question
Computers and Technology, 24.06.2019 12:30
Select all that apply. what two keys listed below should you use to enter data in an excel worksheet? tab backspace enter right arrow
Answers: 2
question
Computers and Technology, 24.06.2019 22:00
Aobject is used for displaying the results of a question based on stored data. a. query b. report c. table d. form
Answers: 2
question
Computers and Technology, 25.06.2019 05:10
Write a program that asks for 'name' from the user and then asks for a number and stores the two in a dictionary (called 'the_dict') as key-value pair. the program then asks if the user wants to enter more data (more data (y/n)? ) and depending on user choice, either asks for another name-number pair or exits and stores the dictionary key, values in a list of tuples and prints the list. note: ignore the case where the name is already in the dictionary. example: name: pranshu number: 517-244-2426 more data (y/n)? y name: rich number: 517-842-5425 more data (y/n)? y name: alireza number: 517-432-5224 more data (y/n)? n [('alireza', '517-432-5224'), ('pranshu', '517-244-2426'), ('rich', '517-842-5425')]
Answers: 3
You know the right answer?
Write a C++ Code to get a multiline statement Str1 from a user with a ‘$’ as return character (Hint:...
Questions
question
Advanced Placement (AP), 02.07.2019 06:30
question
English, 02.07.2019 06:30
Questions on the website: 13722359