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
denis-greek [22]
4 years ago
10

How would you describe by adding comments to the coding explaining that you know what int num1 = 10; int ave = (num1+num2+num3)/

3; means? Is it declaring that num1 = 10?
Computers and Technology
1 answer:
Radda [10]4 years ago
8 0

Answer:

//declaring variable num1 and intializing it to 10

int num1 = 10;

//declaring variable ave and assigning average of 3 numbers num1,num2,num3

int ave = (num1+num2+num3)/3;

Explanation:

//declaring variable num1 and intializing it to 10

int num1 = 10;

//declaring variable ave and assigning average of 3 numbers num1,num2,num3

int ave = (num1+num2+num3)/3;

You might be interested in
What is an algorithm? An executable file that has been converted into machine language A set of markup instructions A set of ins
mario62 [17]

Answer:

A set of instructions to meet a requirement of some kind

Explanation:

An algorithm is a set of instructions to meet a requirement of some kind, not all the algorithm are for computers, we can form an algorithm of how to make a cake.

5 0
3 years ago
Convert to octal. Convert to hexadecimal. Then convert both of your answers todecimal, and verify that they are the same.(a) 111
melomori [17]

The given decimal values are converted to octal and hexadecimal.

Explanation:

a. The converted octal value of 111010110001.0112 decimal number is  1473055755061.00557000643334272616

The converted hexadecimal value of 111010110001.0112 decimal number is  19D8B7DA31.02DE00D1B71758E21965

b. The converted octal value of 10110011101.112 decimal number is  113246503335.07126010142233513615

The converted hexadecimal value of  10110011101.112 decimal number is  

25A9A86DD.1CAC083126E978D4FDF4

a. while converting back from octal to decimal the value is 111010110001.01119999999999999989

b. while converting back from octal to decimal the value is

10110011101.11199999999999999973

Hence both the values changes while we convert from octal to decimal.

3 0
3 years ago
Write. A program to fine the difference of two number 25 and 17 . Also displays the output
Anon25 [30]

Answer:

Answer = 25-17

print("25-17", Answer)

Explanation:

You put the sum into a variable which in this case would be Answer and then you can output it with the question.

6 0
3 years ago
The symbol is used to indicate that a line of text is a comment.
Vladimir [108]

Answer:

Explanation:

asterisk

6 0
3 years ago
Read 2 more answers
List 8 things that online friends say and list 8 things that online fakes say.
morpeh [17]

Answer:

online friend

hi

hello

hahaha

how are you

how your day

i dont known

where are you

what are you doing

online fakes

are you serious

are you crazy

what do you want

firts of all

lets talk about later

6 0
3 years ago
Read 2 more answers
Other questions:
  • ¿Cuál fue el invento que revolucionó en la edad media?
    10·1 answer
  • is the process of creating a message to be communicated. a. Encoding b. Decoding c. Receiving d. Sending
    10·2 answers
  • Design a class named Person with fields for holding a person’s name, address, and telephone number. Write one or more constructo
    12·1 answer
  • Can someone help me please and thank u
    13·2 answers
  • The getting started screen in Microsoft publisher consists of which main parts?​
    7·1 answer
  • ICT 10
    8·1 answer
  • WOULD SOMEONE PLEASE ANSWER THIS IVE ASKED TWICE ALREADY!
    6·1 answer
  • Please help! first one to answer correctly gets brainliest and thanked
    7·1 answer
  • Which keyboard shortcut pastes information from the clipboard?
    6·2 answers
  • You are an administrator of a growing network. You notice the network you have created is broadcasting, but you cannot ping syst
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!