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
6.An organization wants to implement a remote dial-in server to ensure that personnel can connect to the organization's network
Sauron [17]

Answer:

Challenge-Handshake Authentication Protocol (CHAP).

Explanation:

In Computer technology, authentication can be defined as the process of verifying the identity of an individual or electronic device. Authentication work based on the principle (framework) of matching an incoming request from a user or electronic device to a set of uniquely defined credentials.

Basically, authentication ensures a user is truly who he or she claims to be, as well as confirm that an electronic device is valid through the process of verification.

In this scenario, an organization wants to implement a remote dial-in server to ensure that personnel can connect to the organization's network from remote locations. The authentication protocol must include encryption to prevent hackers from accessing the network.

Hence, the protocol which should be used is Challenge-Handshake Authentication Protocol (CHAP).

A Challenge-Handshake Authentication Protocol (CHAP) can be defined as a standard network access control protocol in which a client program dials in to a network access server to receive a random value and identification number that can only be used once.

5 0
3 years ago
A low credit score can lead to
CaHeK987 [17]
The answer would be B.
7 0
3 years ago
Brandack is a leading manufacturer of storage devices. During a span of every five years, it produces one high-performance stora
Ede4ka [16]

Answer:

S-curve pattern of innovation

Explanation:

Based on the information being provided with regards to Brandack's business it seems that this scenario best illustrates the S-curve pattern of innovation. This is a pattern that describes a the slow rise as a new product enters the market, followed by a rapid increase in profit as the product enters it's maturity stage, and finally a constant decline in profit as it approaches the end of it's life cycle. Usually occurring when a new or updated version of the product is being introduced into the market. Which for Brandack is every five years.

If you have any more questions feel free to ask away at Brainly.

3 0
3 years ago
Write a short program using Python that will:
Alexxx [7]

Answer:

// program in Python to check perfect number

#function to find number is perfect or not

def is_Perfect_Number(n):

   #total variable

   tot = 1

   i = 2

   #sum of all divisor of number

   while i*i<=n:

       if n%i==0:

           tot = tot + i + n/i

       if tot == n and n != 1:

           return 1

       i = i+1  

   return 0

#read until user enter a perfect number

while True:

   #read integer

   num = int(input("Input an integer: "))

   #call the function

   if(is_Perfect_Number(num)):

       print(num,"is perfect number")

       #if perfect number break

       break

   else:

       print(num,"is not a perfect number")

       #ask again

   print("try again.")

Explanation:

Read number from user and then call the function is_Perfect_Number() with  parameter "num".This will find the sum of all divisor of number.If sum is  equal to number then it will return 1 else return 0.If the number is not  perfect then it will again ask to enter a number until user enter a perfect  number.

Output:

Input an integer: 24

24 is not a perfect number                                                                                                

try again.                                                                                                                

Input an integer: 28                                                                                                      

28 is perfect number

6 0
3 years ago
Helllp me you will git 16 points
siniylev [52]

Answer:

False

Hope it helps...

Have a great day :P

8 0
3 years ago
Read 2 more answers
Other questions:
  • One critique of determining the effectiveness of the psychodynamic perspective is that its theories are too vague to test. t/f
    14·2 answers
  • What type of formatting does the clip below demonstrate
    6·1 answer
  • java The maximum-valued element of an integer-valued array can be recursively calculated as follows: If the array has a single e
    10·1 answer
  • 31. With interactive marketing,
    6·1 answer
  • Which of the following is not an advantage of a dbms?
    13·2 answers
  • Which of the following illustrates an example of a string data type?
    15·2 answers
  • In this lab, you will use all of the graphics commands you have learned to create an animated scene. Your program should have a
    10·1 answer
  • A custom information feel that helps users find a specific document is called
    7·1 answer
  • How does using wind energy relate to our world today?
    8·2 answers
  • Why when i do a speed test is my internet download speed slower when downloading a game
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!