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
jeyben [28]
3 years ago
7

In a C++ program, two slash marks ( // ) indicate:

Computers and Technology
1 answer:
Ganezh [65]3 years ago
5 0

Answer:

The option(B) is the correct answer .

Explanation:

In C++  the // (two slash marks ) indicating the beginning of a comment .The two slash marks ( // ) comment the single line in a program.To use two slash marks ( // ) comment we simply write  // in which line we have to make comment.

following are the example of code in c++

#include<iostream.h> // header file

void main() // main method

{

cout<< " india"; // print india

}

here // indicating the beginning of a comment .

You might be interested in
The labels on the tab buttons on the Driver tab of the Windows Device are Driver Details, Update Driver, Roll Back Driver, Unins
kifflom [539]

Answer:

Disable

Explanation:

In window devices, "Disable" is an option which is use as 'disables the selected device'. It is sub menu under Driver.

4 0
3 years ago
Binary search requires that data to search be in order. true or false
Iteru [2.4K]
<span>Binary search requires that data to search be in order.
The answer is true
Hope this help!!</span>
5 0
3 years ago
Write a program that receives a series of numbers from the user and allows the user to press the enter key to indicate that he o
kogti [31]

Answer:

theSum = 0.0#defined in the question.

count=0 #modified code and it is used to intialize the value to count.

data = input("Enter a number: ") #defined in the question.

while data != "": #defined in the question.

   number = float(data) #defined in the question.

   theSum += number #defined in the question.

   data = input("Enter the next number or press enter to quit ") #defined in the question "only some part is modified"

   count=count+1#modified code and it is used to count the input to print the average.

print("The sum is", theSum)#defined in the question.

print("The average is", theSum/count) #modified code and it is used to print the average value.

output:

  • If the user inputs as 1,4 then the sum is 5 and the average is 2.5.

Explanation:

  • The above code is written in the python language, in which some part of the code is taken from the question and some are added.
  • The question has a code that tells the sum, but that code is not print the average value of the user input value.
  • To find the average, some codes are added, in which one count variable which is initialized at the starting of the program and gets increased by 1, when the user gives the value.
  • Then that count divides the sum to print the average.
5 0
3 years ago
Ross has to create a presentation for his class but can't decide on a topic. What should he do?
dmitriy555 [2]
The answer is C. Choose a topic that he is interested in and wants others to know more about.
3 0
4 years ago
Read 2 more answers
To copy consecutive items, click the first item in the group, hold down _______, and click the last item
Nikitich [7]
C. Shift , you can control click to select one at a time
7 0
3 years ago
Read 2 more answers
Other questions:
  • Kendall receives an email stating that a leading computer company is giving away free computers, asking her to forward the email
    15·1 answer
  • While a hard drive is running, even a slight bump against the computer may cause the
    9·2 answers
  • The first thing you must consider in any type of communication is ______.
    9·2 answers
  • This diagram shows who is responsible in preventing cyberbullying. A flowchart. Top box is labeled Cyberbullying can be prevente
    14·2 answers
  • Explain by details operator overloading in C++ with example
    6·1 answer
  • Agile methods typically use a ______ model, which represents a series of iterations, or revisions, which are based on user feedb
    7·1 answer
  • if ur parent gets mad at u and says something then u say something, why do they say "stop back talking'' if ur just starting a c
    7·2 answers
  • Javier is asked to explain to IT management as to why he is suggesting replacing the existing company firewall. Javier states th
    11·1 answer
  • Any correct answers will be helpful.
    13·1 answer
  • Project: Design and Development Research Project
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!