Comments should:
a) give the reader the background of the programmer.
b) be written for every line of code.
c) communicate the purpose of the code that follows it.
d) give information about how many hours it took to write the code.

Answers

Answer 1
Option C is correct............
Answer 2

Answer:

c.

Explanation:


Related Questions

Analyze the map below and answer the question that follows. A topographic map of Northwestern Russia. Areas on the map are circled and labeled 1, 2, 3, and 4. 1 is a mountain range. 2 is a flat area. 3 is a highland area. 4 is a plateau. Image by Natural Earth The region labeled with the number 1 on the map above is the __________.

Answers

Answer:region 1

Explanation:

Answer:

region 1

Explanation:

correct on edg 2020

guys can u help me write a program need help asp will give 25 points and brainlist if correct

Answers

import java.util.Scanner;

public class Lab04b_Numbers {

   

   public static void main(String[] args) {

       Scanner keyboard = new Scanner(System.in);

       System.out.print("Enter your GPA: ");

       double gpa = keyboard.nextDouble();

       System.out.print("Enter cost of a new car: ");

       double cost = keyboard.nextDouble();

       System.out.print("Enter average amount of rain this month: ");

       double rain = keyboard.nextDouble();

       System.out.print("What is your average for history class: ");

       double avg = keyboard.nextDouble();

       System.out.println("In 2020 a car cost $"+cost+".");

       System.out.println("Wow "+gpa+" GPA is good, but "+rain+" inches is bad.");

       System.out.println("Now only "+avg+" percent of people like tacos.");

       System.out.println("Sorry for the "+gpa+" percent who don't.");

       System.out.println(rain+", "+gpa+" or "+avg+" which do you want for a grade?");

   }

   

}

I think this is what you're looking for. Best of luck.

Instructions
Write a program that will add up the series of numbers: 99, 98, 97… 3, 2, 1. The program should print the running total as well as the total at the end. The program should use one for loop, the range() function and one print() command.

Sample Run
99

197

294

390







4940

4944

4947

4949

4950

Answers

total = 0

for x in range(99, 0, -1):

   total += x

   print(total)

I hope this helps!

Can you guys list all the Linux Debian Apps that can only be installed on a Linux terminal command line, I have a deb 32 bit

Answers

Answer:

Two of those are apt and apt get and the other one is dpkg. 4. You will see a list of Debian Ensure package lists and installed packages are up to date. ... Apt may fail to remove old Linux kernels when using an Ubuntu version that 39 s ... To install it just enter the following command from the Terminal sudo apt install apt ...

Explanation:

.
Why does the Moon have a greater effect on the tides compared to the Sun? (Select WILL GIVE BRANLEST PLS ASAP

two.)
The Moon is smaller than the Sun.
The Sun is closer to the Earth.
The Moon’s gravitational pull on the Earth’s oceans is stronger.
The Moon is closer to the Earth.
The Sun’s gravitational pull on the Earth’s oceans is stronger.

Answers

The correct option that explains the reason why the moon will have greater effect on the tides compared to the sun is;

Option D; The moon is closer to the Earth

Generally speaking, ocean tides on the earth are caused by both the gravity of the moon and the gravity of the sun.

Now, the mode of generation of ocean tides is not really by the total strength of gravity, but rather by the gravitational gradient.

Gravitational gradient is simply defined as the gravity differences from one spot to the other.

Now, from research, we know that the sun is far larger than the moon and this means in consequence it will have a far stronger total gravity than that of the moon. However, due to the fact that the moon is closer to the earth than the sun, it means the moon would possess a stronger gravitational gradient than which the sun possesses.

Now, let's get to ocean tides; The ocean tides arise as a result of the response of ocean water to a gravitational gradient and as a result, the moon will have a greater role in creating tides than that which the sun does.  

Read more at; https://brainly.com/question/24996618

JAVA
Write a program that requests the user input a word, then prints every other letter of the word starting with the first letter.
Hint - you will need to use the substring method inside a loop to get at every other character in the String. You can use the length method on the String
to work out when this loop should end.
Sample run:
Input a word:
domain
dmi

Answers

import java.util.Scanner;

public class JavaApplication42 {

   public static void main(String[] args) {

       Scanner scan = new Scanner(System.in);

       System.out.println("Input a word:");

       String word = scan.nextLine();

       for (int i = 0; i < word.length(); i+=2){

           System.out.print(word.substring(i,i+1));

           

       }

   }

   

}

I hope this helps!

The program is an illustration of loops.

Loops are used to carry out repetition operations; examples are the for-loop and the while-loop.

The program in Java, where comments are used to explain each line is as follows:

import java.util.*;

public class Main {

public static void main(String args[]) {

//This creates a Scanner object

Scanner input = new Scanner(System.in);

//This prompts user for input

System.out.print("Input a word: ");

//This gets input from the user

String userinput = input.nextLine();

//The following iterates through every other character of userinput  

      for(int i =0;i<userinput.length();i+=2) {

//This prints every other characters

          System.out.print(userinput.charAt(i));

}

  }

}

The above program is implemented using a for loop

Read more about similar programs at:

https://brainly.com/question/19104397

If you were the manager at a firm which deals with sensitive information of its customers, employees and other stake holders, how would you make sure that information is protected and is altered only by the designated authorized person

Answers

Answer:

explanation below

Explanation:

Management controls are some of the techniques and mechanisms that can be put in place to implement security policies – which ensure information and information systems are protected.  These controls are not only used by managers but can be exercised by selected users.  

These controls must be put in place to cover all forms of information security, physical security and classification of those information.  

True or False? You should never move an injured person.
True
False

Answers

Answer:

true

Explanation:

I need the answer to life. I cant live without my POGCHAMPS!

Answers

Answer:

Pray to God and ask him for help in life. May God bless you

Explanation:

Answer:

Pog

Explanation:

Poggers

What is a characteristic of tasks in Outlook?
The Tasks view can be seen by clicking the View tab.

New tasks are created in the Appointments form

Tasks are an action item in Outlook and are basically a to-do list.

Old tasks are automatically deleted from your list​

Answers

Answer:

C. Tasks are an action item in Outlook and are basically a to-do list.

Explanation:

A to-do List is just a list of tasks.

and I took the test and got it right

Answer:

C. is correct

Explanation:

edg 2021

pls help quick

Question #4. This question is worth 55 points. You may use the exam reference sheet. Write the pseudocode for a procedure, pow2() that displays the nth power of 2 where n is a parameter passed into the procedure. PROCEDURE pow2 ) { }​

Answers

Answer:

The procedure is completed as follows:

PROCEDURE pow2(n){

count = 1

power = 1

WHILE count <= n

       power = power * 2

       count = count + 1

END WHILE

Print power

}

Explanation:

A pseudocode is not a real code and might not be syntactically correct. This is so because it only helps to understand what the code is all about and gives and insight of the code.

Having said that, the pseudocode for the program is as follows:

This line defines the procedure

PROCEDURE pow2(n){

This line initializes count to 1

count = 1

This line initializes power to 1

power = 1

The following iteration iterates from 1 to n

WHILE count <= n

This calculates the nth power of 2

       power = power * 2

       count = count + 1

The ends the while loop

END WHILE

This prints the calculated power

Print power

The procedure ends here

}

Note that: I'll assume that the 4 lines illustrated do not mean that the pseudocode be written in just 4 lines.

So, more lines would be needed

Choose a different well-known company that you know of, and describe its direct and indirect competitors. Describe at least 2 direct competitors and 2 indirect competitors.

Answers

nondirect competition is the variance between vendors whose products or services are not the same but that could gratify the consumer need
Lets take exampl of microsoft corporation
The indirect competitors are WHOLE FOODS and WAL-MART
Direct competitors sells the product or services that are same
the direct competitors are Apple, Google, HP, IBM
hope it helps

Answer:

Apple

Direct Competitors: Microsoft and Samsung

Indirect Competitors: Best Buy and Target

correct on edge

Which of the following allows a user to quickly access a frequently used computer app? Alphabetize program icons. O Create a shortcut on the toolbar. O Delete all icons on the screen. Place all icons in one folder.​

Answers

Answer:

Create a shortcut on the toolbar

Explanation:

You can use process of elimination. alphabetizing would not help to find it quicker, but it is an easier way. Deleting all icons wouldn't help at all. And placing all icons in a folder would make it even messier. So, it is creating a shortcut. Plus, I got it right on my test :)

Answer:

its a shortcut

Explanation:

took da test and got 100

Which of these are reasons to evacuate a building during an earthquake? Mark all that apply.
A. There is a water leak.
B. The building is on fire.
C. There is structural damage to the building like newly cracked walls.
D. There is a gas leak.

Answers

Answer:

D

Explanation:

Answer:

c, b

Explanation:

I am guessing those are correct I don't really know

Keith has data in row 12. However, he would actually like that row to be empty. Keith should _____. A.) double-click on cell A12 and press Backspace B.) highlight row 12 and press Delete C.) use the arrow keys to move to row 12 and press Enter or Return D.) use the mouse to click row 12 and press the space bar

Answers

Answer:

B.)

Explanation:

In order to have that row, empty Keith should highlight row 12 and press Delete. This would delete all of the data in the row without effectively deleting the formulas. Therefore, allowing you to easily reuse the row if you need to add data to it once again. So this would be the best option for Keith as it easily solves the problem that he is having.

to develop vocabulary, a student should increase their

a) use of expression

b) use of punctuation

c) oral reading rate

d) familiarity with sight words

Answers

A because you can decrease the rest and none would make sense. I learned this!!

what isa programming language

Answers

Answer:

programming language is a formal language comprising a set of instruction that produce various kind of out put.

Answer:

A programming language defines a set of instructions that are compiled together to perform a specific task by the CPU .hope it's helps you have a great day keep smiling be happy stay safe.

At the start of the school year, Brianna’s history teacher announces that students’ final grades will be weighted based on how they do in three categories: exams (60 percent), final presentation (30 percent), and class participation (10 percent). Which strategy would most likely help Brianna get the best grade? spending more time studying for exams than creating the final presentation splitting her time evenly between studying for exams and creating the final presentation concentrating on creating the final presentation and speaking up in class working hard at participating in class and studying for exams

Answers

Answer:

it is A

Explanation:

did on edge test

Answer:

A

Explanation:

What are 5 different google g-suite tools that you can use to collaborate and communicate with othe

Answers

it is google docs like stuff made by google

What would be the results if the Formula =2*C8+3*D9 is entered into a cell if the value displayed in C8 is 3,and the value in cell D9 is 2? Select one: a. 3 b. 18 c. 12 d. 25

Answers

Answer:

The correct answer is:

12 (c)

Explanation:

The codes as shown C8 and D9 represent cells in an Excel spreadsheet. the cell tags describe the column letter and row numbers. For instance; C8 means the 8th row in Column C, while D9 means; the 9th row in column D. In order to do mathematical functions with Excel, the formulae starting with an equal sign (=) like the one shown in this example are used. The function is solved as follows:

= 2*C8+3*D9

where:  

* = multiplication sign (×)

C8 = 3

D9 = 2

∴ 2*C8+3*D9 = (2 × 3) + (3 × 2)

= 6 + 6 = 12

∴ the result is 12

In which area of the screen can features and functions of Word be accessed?

Command
Ribbon
Scroll bar
Tab

Please Hurry!!!

Answers

Answer:

Toolbar

Explanation:

j don't know if you meant that instead of scroll bar, but tool bar is the answer

Answer:

scroll bar

Explanation:

Match the type of multimedia artist to the description of the jobs they perform.

storyboard artist

background artist

special effects animator

multimedia designers

works with other animators to set

the scenes depicting the key

characters

arrowRight

works with various elements to

create content for web pages

arrowRight

creates key frames that depict

all the important scenes in the

story

arrowRight

provides visual enhancements

to make the action depicted

more interesting and appealing

Answers

Answer:

d or a

Explanation:

hope it helps

Mr. King is in an area on the taskbar opening programs he use frequently, what is this area called? Q_____ L_______h.

Answers

Answer:

Microsoft Windows. The default settings for the taskbar in Microsoft Windows place it at the bottom of the screen and includes from left to right the Start menu button, Quick Launch bar, taskbar buttons, and notification area.

Explanation:

4.8 Code Practice: Question 2

Answers

Answer:

for y in range(88, 43, -4):

   print(y, end=" ")

Explanation;

yw

Given the formula on the left, label the parts. SUM . A2:D19 . E55 . (A2:A19,C13,E55,19) .

Answers

Answer:

SUM  

✔ function name

.

A2:D19  

✔ range

.

E55  

✔ value

.

(A2:A19,C13,E55,19)  

✔ argument

Answer:

1. B

2. A

3. A

4. C

Explanation:

On edge2020 I got it right

Using the rule of thirds places items of interest in a photograph along one of the imaginary gridlines or at the point of their intersection.

True
False

Answers

I think the answer is it’s true

Answer: tureee

Explanation::)

Write a for loop in python that prints 10 random numbers between 1 and 100 inclusive.

Answers

import random

for x in range(10):

   print(random.randint(1,100))

Rewritable (write, erase, write again) is known as _______.

a.
CD-R
b.
CD-RW
c.
DVD-R
d.
CD-ROM

Answers

Answer:

c

Explanation:

Wilma is looking for facts about social media for her research project. What fact should she use for her project? a Communicating with social media is hard b Social media is a great way to communicate. c Social media is fun and easy to use. d The minimum age for some social media sites is 13. please help me and i will give you 5 stars

Answers

Answer:

d.

Explanation:

Out of all of the options listed, the only choice that is actually a fact would be that the minimum age for some social media sites is 13. This is because this age restriction is not set by the social media sites but instead by the Children's Online Privacy Protection Act (COPPA) within the US. The other options are all personal opinion, the most accurate of which is that "Social media is a great way to communicate." which there can still be someone with an opposing argument which means that it is not factual but instead it is an opinion.

In an inequality between two numbers, -2.1 is located below the other number on a vertical number line. So, the other number is -2.1. One possible value of the other number is .

Answers

Answer:

-2.0

Explanation:

Given

Number = -2.1

Required

Determine the other number

From the question, we understand that the number is represented on a vertical number.

From bottom to top, numbers on a vertical number line increases.

Since the other number is at the top of -2.1, then we can conclude that this number is greater than-2.1

Hence, possible values are ,-2.0, -1.9, etc.

Answer:

First blank: greater than.

Second bank: -1.5

Explanation:

Other Questions
Describe whether the sentence is corrupt or incorrect as written. To Pepe invitas a todos a la fiesta.Correct Incorrect Vanessa wanted to buy chocolate online. The Chocolatier A offers 2 pounds of chocolate for$32.50, while the Chocolatier B offers 2 pounds of the same chocolate for $35.00. Whichcompany is offering the lowest price per pound?Both companies have the same priceChocolatier BChocolatier A Answer this please thanks What is the ones digit of 5120 + 2301 + 456? Who did Alexander the Great conquer? Hello, This is easy. Plz be seriouslyI need a honest a opinion from a democrat and a republican. Plz give me a reason on why your on your sidePlease don't fight about politics Read and choose the correct option to complete the sentence.En su niez, Jons ________. No le gustaba hablar. (2 points) aera callado bera grande ciba al parque diba al mercado Albie's total income is $695.25 in a weekwhere his sales are $2870. If he earns acommission of 7.5% of his sales, what ishis retainer? can you tell me how to work it out aswell please A chemist prepares a solution of magnesium fluoride MgF2 by measuring out 0.0113mol of magnesium fluoride into a 450.mL volumetric flask and filling the flask to the mark with water. Calculate the concentration in /mmolL of the chemist's magnesium fluoride solution. Round your answer to 3 significant digits. what does ""connotations of privilege and sophistication"" mean? jelaskan usahawan sebagai sumber ekonomi dalam proses pengeluaran :( can sum1 please help me I got 15min till its due and well my grades are due in 5 and I'm really suck at this question Martinez bought 8 3/4 yd of fabric. She wants to make a skirt using 1 7/8 yd, pants using 2 3/8, and a vest using 1 2/3 yd. how much fabric will be left over?Please help ASAP!!! :( what is the main difference between a search bar and a web browser Which First Amendment freedom would protect a students right to join an environmental club?freedom of assemblyfreedom to petitionfreedom of the pressfreedom of speech An animal cell: the human body. Different but also alike. Your brain is the control center of your body. What is the control center of the animal cell? 0.409 +0.681can you add this with the repeating decimals? What type of irony is If someone confessed towitchcraft, he/she wasspared; if someone didntconfess, he/she wasexecuted. and why is the irony? A kitchen sink faucet streams 0.5 gallon of water in 10 seconds. A bathroom sink faucet streams 0.75 gallon of water in 18 seconds. Which faucet will fill a3-gallon container faster? s this statement true or false? All worms belong to the same phylum.