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
lions [1.4K]
3 years ago
11

Each cout statement has a syntax error. Type the first cout statement, and press Run to observe the error message. Fix the error

, and run again. Repeat for the second, then third, cout statement. cout << "Num: " << songnum << endl; cout << int songNum << endl; cout << songNum " songs" << endl;
Computers and Technology
1 answer:
Vitek1552 [10]3 years ago
6 0

Answer:

cout << "Num: " << songNum << endl;

cout << songNum << endl;

cout << songNum << " songs" << endl;

Explanation:

Since you did not provide the whole code and each statement has an error, it seems the name of the variable is songNum. Depending on these, you can see the corrections below:

cout << "Num: " << <u>songnum</u> << endl;   → cout << "Num: " << songNum << endl;

The name of the variable must be written correctly.

- - -

cout << <u>int</u> songNum << endl;  →  cout << songNum << endl;

Declaration of the variable must be done before printing it.

- - -

cout << <u>songNum " songs" </u><< endl;  →  cout << songNum  << "songs" << endl;

There must be "<<" signs between each part while printing.

You might be interested in
Which of the following commands appears in the INSERT menu or tab?
loris [4]

Answer:

Table

Explanation:

3 0
3 years ago
A palindrome is a string whose reversal is identical to the string. how many bit string of length 20 are palindromes and do not
zepelin [54]

There are 2n possible bit strings for any n.

<h3>What makes something a palindrome?</h3>
  • The way they read both forward and backward is the same.
  • A palindrome is a word, phrase, or sentence that reads the same both forward and backward.
  • Palindrome is a combination of the Greek words for "again" (Palin) and "to run" (drom).
  • A palindromic number, sometimes referred to as a numeral palindrome or a numeric palindrome, is one whose value does not change when its digits are flipped, for example, 16461.
  • The single palindrome date in the M/DD/YYYY date format in 2022 is February 20, 2022. (2-20-2022)

To learn more about palindrome, refer to:

brainly.com/question/28279486

#SPJ4

7 0
2 years ago
Since the 1970s, local tv newscasts have developed a similar look. that's because
professor190 [17]
<span>(news doctors, consultants) said people should be young, attractive, smile and look happy.</span>
6 0
4 years ago
Which of the following is an HTTP response status type?
andrey2020 [161]

Answer: All of the above

Explanation:

200 OK, 301 permanently moved and 400 bad request all are the Hyper text transfer protocol (HTTP) response status type. The HTTP response status types basically indicated the complete request in the HTTP.

All these given types are the responses and request that are involved in the HTTP status type.

200 OK is one of the request which basically depends upon the HTTP status type success.

301 permanently moved is the response in the URL which are used for permanently change the resources of request.

And 400 bad request is not properly understand by server due to the invalid syntax in the HTTP.

6 0
4 years ago
What are the benefits of open source software? Risks?
andrezito [222]

Answer:

more security

fewer bugs and faster fixes

no upgrade pushes

low coast

excellent support

as far as the risk part of it. I think that would be

the risk of license restriction, infringement.

5 0
3 years ago
Other questions:
  • Write an application that allows a user to enter any number of student quiz scores until the user enters 99. If the score entere
    15·1 answer
  • Instructions: Type the correct answer in the box. Spell the word correctly.
    5·2 answers
  • What is the answers please
    10·1 answer
  • The type of business organization that can continue indefinitely is known as a
    11·1 answer
  • 3. By eliminating data redundancy, you're enforcing data A. validation. B. integrity. C. consistency. D. accuracy.
    14·2 answers
  • PLEASE ANSWER QUICK!.....I am trying to buy a computer so I can play Crysis 3 what are computers that are good for this high det
    12·1 answer
  • In what software development model does activity progress in a lock-step sequential process where no phase begins until the prev
    7·1 answer
  • Which technology has the potential to be misused to make atomic bombs? A. computer technology B. nuclear technology C. medical t
    14·1 answer
  • How long does it take to go 80 miles if you are going 80 mph?
    8·2 answers
  • Which of the following statement is true? Single choice. (2 Points) Views are virtual tables that are compiled at run time All o
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!