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
ValentinkaMS [17]
4 years ago
9

6) Sometimes it is difficult to read a piece of code and understand what the code will do. For this reason, you may want to add

notes to yourself (or to someone else that may read the code) that show up in the code, but not when you run the program. What are these notes called and what symbol do you use to write them
Computers and Technology
1 answer:
UkoKoshka [18]4 years ago
7 0

Answer:

The answer to this question is given below in the explanation section.

Explanation:

The notes that are used in a piece of code to understand the difficulty of coding or for others to read it is called comments.

Comments in code help in understanding the code, they help others to read the code and understand the logic written behind it. Comments also help the programmer to read his code himself for understanding purposes. Comments in coding used for understanding the purpose of code and what the code will do. The comments written in the program cannot execute or shown when you run the program.

Comments in coding/program can be used in two ways in almost all programming languages. You can use comments on a single line and in multiple lines.

To show a comment on a single line, you can use the double backslash "//" .

To make a comment on a single line. for example

//here the calculation start or some other understandable comments.

if the comments are more than one line then you can use "/*    */" symbols to write comments on multiple lines

for example:

/* this is the code

that calculate the sum and average of students grades

it also displays the grade in letter

*/

You might be interested in
How many pages is 1500 words double spaced 12pt font?
OLga [1]

Answer:

6 pages

Explanation:

7 0
3 years ago
If I make a Zoom Meeting, would you join it?
boyakko [2]

Most likely, yeah lol.

3 0
4 years ago
Read 2 more answers
The growing network of physical objects that will have sensors connected to the Internet is referred to as the ________.
Hitman42 [59]

Answer:

hihitftftyd

Explanation:

7 0
4 years ago
Write a program that allows the user to input a total dollar amount for an online shopping order and computes and outputs the sh
tia_tia [17]

The program written in python 3 which prints the shipping cost based on the total shopping cost is written thus :

cost = int(input('Enter your shopping cost : '))

<em>#accepts</em><em> </em><em>integer</em><em> </em><em>input</em><em> </em><em>of</em><em> </em><em>the</em><em> </em><em>customer's</em><em> </em><em>shopping</em><em> </em><em>cost</em><em> </em>

if cost < 50 :

print('ship within USA : $6 ')

print('ship to canada : $8')

<em>#if</em><em> </em><em>cost</em><em> </em><em>of</em><em> </em><em>shopping</em><em> </em><em>is</em><em> </em><em>below</em><em> </em><em>$</em><em>50</em><em>,</em><em> </em><em>shopping</em><em> </em><em>to</em><em> </em><em>USA</em><em> </em><em>is</em><em> </em><em>$</em><em>6</em><em> </em><em>and</em><em> </em><em>Canada</em><em> </em><em>$</em><em>8</em>

elif (cost >=50) & (cost < 100):

print('ship within USA : $9 ')

print('ship to canada : $12')

<em>#if cost of shopping is between $50 and below $100, shopping to USA is $9 and Canada $12</em>

elif (cost>=100) & (cost < 150):

print('ship within USA : $12')

print('ship to canada : $15')

<em>#if cost of shopping is between $</em><em>100</em><em> </em><em>and below $</em><em>150</em><em>, shopping to USA is $</em><em>12</em><em> and Canada $</em><em>15</em>

elif cost > 150 :

print('ship within USA : Free')

print('ship to canada : Free')

<em>#if cost of shopping is above $150 ; then shipping cost is free to both countries. </em>

Learn more :brainly.com/question/24847242

5 0
2 years ago
Example of vector image format​
emmasim [6.3K]

Answer:

JPEGs, GIFs and PNGs are common raster image types. ...

Vector images, alternatively, allow for more flexibility. Constructed using mathematical formulas rather than individual colored blocks, vector file types such as EPS, AI and PDF* are excellent for creating graphics that frequently require resizing.

7 0
3 years ago
Other questions:
  • Mitchell has noticed that his co-workers are unable to open attachments in the emails he sends. What is one possible reason for
    5·1 answer
  • In a PowerPoint presentation, it is not possible to add notes that are hidden from the audience's view.
    9·1 answer
  • What happens when a returntype, even void, is specified as a constructor in Java?
    14·1 answer
  • In 125 words describe the steps to active listening.
    6·1 answer
  • Write a Python program where the user enters the number of elements in a list ‘n’ and those ‘n’ numbers that form the list. The
    13·1 answer
  • I'm looking for the best free chat website to Answer computer and statistic question and answers
    10·2 answers
  • What is the first phase in which a software program is usable enough to test?
    14·1 answer
  • A security hole is a(n): Group of answer choices packet-level firewall small peep-hole in a door or wall to allow a security gua
    14·1 answer
  • Imagine that your parents were starting a small business, and they wanted to upgrade their data storage. Would you recommend a f
    11·1 answer
  • I will give brainyest
    13·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!