1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
vladimir2022 [97]
3 years ago
6

. Write a C++ Code to get a multiline statement Str1 from a user with a ‘$’ as return character (Hint:

Computers and Technology
1 answer:
Nuetrik [128]3 years ago
8 0

Answer:

#include <iostream>

using namespace std;

int main()

{

   string s1, s2;

   cout << "Enter string s1: ";

   getline (cin, s1);

   s2 = s1;

   cout << "s1 = "<< s1 << endl;

   cout << "s2 = "<< s2;

   return 0;

}

Explanation:

You might be interested in
Which of the following are benefits of designing a scalable system? Choose 3 options.
Svetllana [295]

Explanation:

ability to maintain a high level of service for costumers

users may never know when a sight has experienced tremendous growth

ability to respond to users volume issues more quickly

4 0
3 years ago
Please help on both of these questions will give brainliest<br> !!
Alja [10]

I think the first one is All of the above

3 0
3 years ago
Read 2 more answers
PLEASE HELP PROGRAMMING WILL GIVE BRAINLIEST
DaniilM [7]

Answer:

1. would be B.

2. would be D

3. May I ask if it can be multiple answers?

Explanation:

1. In coding a if statement has to follow if something is true or not. If we are talking about a if and then statement it will skip that block and move to the next block of the "then" part of the "if then" Statement if the first part is reported false

2. This is a easy one, so it has to be either a 3.25 GPA or higher or they have to have either 100 hours or more.

3. waiting for a comment back :)

4 0
4 years ago
Samuel is working on decimal and binary conversion for his college project. He is using the binary number 111011 and wants to ex
Contact [7]
<span>1 X 25 + 1 X 24 + 1 X 23 + 0 X 22 + 1 X 21 + 1 X 20 thus your Answer is C</span>
4 0
3 years ago
Read 2 more answers
Special keys that allow you to use the computer to perform specific functions
Pavel [41]

Answer:

Examples are Ctrl, Alt, Fn, Alt Gr, Shift, Caps Lock, Tab, Scroll Lock, Num lock, Esc, Windows Key, Backspace, Enter...

8 0
3 years ago
Other questions:
  • "a terminal has two input queues." as a user types each character to the terminal, it is collected in the ____ queue.
    5·1 answer
  • How to do this? ICT Excel there's a screenshot attached
    6·1 answer
  • Select the correct answer.
    6·1 answer
  • DJ Davon is making a playlist for an internet radio show; he is trying to decide what 1212 songs to play and in what order they
    12·1 answer
  • Ann needs to share information about a new hiring policy. She needs to communicate this information to more than one hundred emp
    15·2 answers
  • What was your learning target for today
    9·2 answers
  • _____moves the head to proper track
    13·2 answers
  • How can your network be infected with malware or ransomware?
    6·1 answer
  • Could u give me brief summary of New Years
    14·2 answers
  • What is a personal data?
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!