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]
2 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]2 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 scenario is most likely due to an everyday problem rather than a
tester [92]

The scenario is most likely due to an everyday problem rather than cultural difference among people collaborating online is option D. A team member's bandwidth is limited, and the video feed keeps freezing.

<h3>What is collaborating online?</h3>

Online collaboration is known to be a term that connote the use the internet as well as other forms of online tools to be able to work together on some work or project.

Note that it is one that is done Instead of a person sitting in a physical office space, the online collaboration gives room for employees to be able to work together from different locations and tech by accessing the virtual work environments as well as other shared online workspaces.

Therefore, The scenario is most likely due to an everyday problem rather than cultural difference among people collaborating online is option D. A team member's bandwidth is limited, and the video feed keeps freezing.

Learn more about collaborating online from

brainly.com/question/514815

#SPJ1

6 0
1 year ago
The range of a finite nonempty set of $n$ real numbers $S$ is defined as the difference between the largest and smallest element
-Dominant- [34]

Answer: Hello your question is poorly written attached below is the well written question

answer:

a) Determine ( compute ) the difference between the max and minimum value. determine the Min and max values using 1.5n comparisons

  time efficiency = θ( n )

b) A(n-1) - A(0)

  time efficiency = θ( 1 )

Explanation:

a) An unsorted array

To find the maximum and minimum values scan the array of elements , then determine ( compute ) the difference between the max and minimum value. to determine the range. Alternatively determine the Min and max values using 1.5n comparisons

Algorithm's time efficiency = θ( n )

b) A sorted array

To determine the range, we will determine the difference between the first and last element i.e. A(n-1) - A(0)

time efficiency = θ( 1 )

7 0
2 years ago
What role does the automated surface observing system.
Ilya [14]

Answer: The ASOS systems serves as the nation's primary surface weather observing network. ASOS is designed to support weather forecast activities and aviation operations

6 0
2 years ago
Read 2 more answers
is skill in using productivity software, such as word processors, spreadsheets, database management systems, and presentation so
Digiron [165]

Answer:

It is general knowledge

Explanation:

What you covered is general knowledge and the entrance to computer science.

4 0
3 years ago
r packages include sample datasets. they also include reusable r functions and documentation about how to use the functions. Tru
Dvinal [7]

r packages include sample datasets. they also include reusable r functions and documentation about how to use the functions.

The above statement is <u>True</u>.

What are R packages?

<u>The statistical programming language R has extensions </u>known as R packages. Users of R can install R packages by <u>accessing a centralized software repository like CRAN</u>, which often contains code, data, and documentation in a common collection format.

The "library" directory is <u>where R </u><u>packages </u><u>are kept in the R environment</u>. During installation, R automatically install a number of packages. Later, when additional packages are required for a particular task, they are added.

To learn more about R packages, use the link given
brainly.com/question/26125959
#SPJ4

7 0
11 months ago
Other questions:
  • The statements that a programmer writes in a high-level language are called ________.
    9·2 answers
  • In the year of our Lord 66, the Emperor Nero, being at that time in the twenty-ninth year of his life and the thirteenth of his
    10·1 answer
  • When the minnesota timberwolves encouraged facebook fans to post a great shot of a dunk onto its pinterest page for a chance to
    6·1 answer
  • Stress results from _______. A. Outside stimulus b. Internal stimulus c. Outside calm d. Internal calm
    12·2 answers
  • ​if a primary key combines two or more fields, then it is called a _____.
    14·1 answer
  • Describe the 3 different types of authentication
    6·2 answers
  • Display the total number of parking tickets.
    5·1 answer
  • Give a detailed example of how an app (that you use regularly)uses parameters. You must state the app's name and function, the p
    7·1 answer
  • Which block in this module represents the variable?
    8·1 answer
  • Which type of information should never be given out on social media?
    5·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!