What is the value of x after this statement?

double x = 2.0 / 5.0;

Answers

Answer 1

Answer:

Exact Form:

x

=

2

_

5

Decimal Form:

x = 0.4

Explanation:

Answer 2

Answer:

x ≈ 0.63

Explanation:

x^2 = 2.0/5.0

x^2 = 0.4

[tex]\sqrt{x}[/tex] =  [tex]\sqrt{0.4\\}[/tex]

x = 0.63245553203


Related Questions

explain the importance of computer graphics?​

Answers

Answer:

Computer graphics are similar to the visual designs and textures we see in pc games and such everyday we use our computers. Just basically re-creatable images and re-creating images into art.

Review Questions
1. Explain the difference between authentication and authorization.

Answers

authentication is the process of verifying who someone is, whereas authorization is the process of verifying what specific applications, files, and data a user has access to.

What purpose does encryption on the internet serve? Why is it so important?

Answers

Answer:

it keeps cybercriminals from stealing private information

Explanation:

hope this helps

What are the different selection structures in the C programming language?

Answers

Answer:

SELECTION STRUCTURES

Selection statements allow you to control the flow of program execution on the basis of the outcome of an expression.

different selection structures are:

1)if statements

2)if-else statements

3)if-else-if statements

4)switch statements

Explanation:

THE IF STATEMENTS

the first statement in the if block is only executed when the specified condition is true.If the condition is false then the contained statement will be skipped and execution continued with the rest of the program.

example:

public class IfDemo

{

public static void main(String[] args) {

int age;

Scanner inputDevice = new Scanner(System.in);

System.out.print("Please enter Age: ");

age = inputDevice.nextInt();

if(age > 18)

System.out.println("above 18 ");

}

}

THE IF-ELSE STATEMENTS

if the specified condition in the if statement is false, then the statement after else will be executed.

example:

public class IfElseDemo

{

public static void main( String[] args )

{

int age;

Scanner inputDevice = new Scanner( System.in );

System.out.print( "Please enter Age: " );

age = inputDevice.nextInt();

if ( age >= 18 )

System.out.println( "above 18 " );

else

System.out.println( "below 18" );

}

}

THE IF-ELSE-IF STATEMENTS

the statements after else can be another if or if-else statement, multiple if-else statements.When the condition is true, the associated statement will be executed and remaining conditions will be bypassed.

example:

public class IfElseIfDemo

{

public static void main( String[] args )

{

int age;

Scanner inputDevice = new Scanner( System.in );

System.out.print( "Please enter Age: " );

age = inputDevice.nextInt();

if ( age >= 18 && age <=35 )

System.out.println( "between 18-35 " );

else if(age >35 && age <=60)

System.out.println("between 36-60");

else

System.out.println( "not matched" );

}

}

THE SWITCH STATEMENTS

It is a multi way branch statement. It defines multiple paths of execution of a program.It provides a better alternative than if-else-if statements.

example:

public class SwitchDemo

{

public static void main( String[] args )

{

int age;

Scanner inputDevice = new Scanner( System.in );

System.out.print( "Please enter Age: " );

age = inputDevice.nextInt();

switch ( age )

{

case 18:

System.out.println( "age 18" );

break;

case 19:

System.out.println( "age 19" );

break;

default:

System.out.println( "not matched" );

break;

}

}

}

The different types of selection structures in the C programming language are:

1) if statements2) if-else statements3) if-else-if statements4) switch statements

What is C programming language?

The sequence statement, selection statements (of which there are three variants: if, if...else, and switch), and repetition statements are the only three forms of control structures available in C++.

Due to the fact that C is compiled, it is a quicker language than Python. Since Python programs are interpreted, they typically run more slowly than C applications. When a variable is created in C, its type must be defined, and only values of that specific type are allowed to be given to it.

Therefore, the different selections of C programming languages are

1) if statements2) if-else statements3) if-else-if statements4) switch statements

To learn more about C programming language, refer to the link:

https://brainly.com/question/10937743

#SPJ2

A.Direction: identify the following examples of the ingredients used for sandwiches.

Answers

Answer:

i dont know how to answer may module because i dont have helper

Write about how this item was important to you.

Answers

What is important to you

What is the function of network security
It protects information from users.
It protects networks from intruders,
It secures networks from users,
It protects users from networks,

Answers

It protects users from networks

and other data from breaches intrusion and other threats.

Answer:

it protects netorks from intruders

Explanation:

i took the test

_________security may also be referred to as Information Technology security.

Answers

Answer:

Computer Security or Cybersecurity

Explanation:

Information Technology Security is the protection of computer systems and networks from information disclosure, theft of, or damage to their hardware, software, or electronic data.

Spreadsheets are sometimes credited with legitimizing the personal computer as a business tool. Why do you think they had such an impact?

Answers

Spreadsheets is known to be an credited tool with legitimizing the personal computer as a business tool. Spreadsheets have a lot of impact in business world because:

It has low technical requirement. Here, spreadsheet does not need a complex installation and it is easy to understand.Data Sifting and Cleanup is very easy to do.It is a quick way to Generate Reports and Charts for business.

What is Spreadsheets?

Spreadsheets is known to be a key  business and accounting tool. They are known to have different complexity and are used for a lot of reasons.

The primary aim of this is that it helps us  to organize and categorize data into a kind of logical format and thus helps us to grow our business.

Learn more about Spreadsheets from

https://brainly.com/question/4965119

Cryptography is the science of secret writing. Cryptography involves creating written or generated codes that allow information to be kept secret.

a. True
b. False

Answers

Answer:

true

Explanation:

the answer is true dude

5. Height, weight, time, and distance are examples of what?

Answers

Answer:

They're examples of: Measurement of time.

Explanation:

distance or weight are examples of variable the varribles too

:) Hope this helps Let me know If I need to revise

height, weight, time, and distance are all examples of measurements.

Imagine that you need to prepare for three end-of-term tests. What steps will you take to make sure your study time is well spent?

Answer: I will choose a good study area. Then, I will use highlighting, notes, flash cards, and checklists to study for the tests.

Answers

Answer:

I will also choose a good study area and copy them and paste it

Answer:

Imagine that you need to prepare for three end-of-term tests. What steps will you take to make sure your study time is well spent?

Explanation:

i did it

Write a 2 page paper explaining why a compiler needs to know about both the target architecture as well as the target OS.

Answers

The target architecture and the operating system are important to the compiler to perform high level executions which are made in programming language.

What is a compiler?

A compiler simply means a computer program that is important in the translation of codes that are written in a particular language to another programming language.

In this case, they're vital to perform high level executions which are made in programming language.

The target architecture also sets the framework for the planning and assigning of resources to reach a desired state.

Learn more about compiler on:

https://brainly.com/question/26175597

what is communication​

Answers

Answer:

The transmission of information between two things?

Describe the different compents of QBASIC editor window​

Answers

Answer:

The QBasic Editor Screen has three parts. They are- Editor Window, Immediate Window and Output Window.

1. A vehicle that is in bad shape is unsafe and costs more
to run than one that is maintained.
O True
O False

Answers

True
I believe that is the answer to the question

Answer:

True.

A damaged car costs repairs, and additional money and taxes to operate. A regular, undamaged car costs the original price.

I hope this helps!

Write the syntax of GOTO, ON GOTO and IF THEN ELSE with examples.​

Answers

Answer:

GOTO:

goto label;

... .. ...

... .. ...

label:

statement;

Example:

/ Program to calculate the sum and average of positive numbers

// If the user enters a negative number, the sum and average are displayed.

#include <stdio.h>

int main() {

  const int maxInput = 100;

  int i;

  double number, average, sum = 0.0;

  for (i = 1; i <= maxInput; ++i) {

     printf("%d. Enter a number: ", i);

     scanf("%lf", &number);

     

     // go to jump if the user enters a negative number

     if (number < 0.0) {

        goto jump;

     }

     sum += number;

  }

jump:

  average = sum / (i - 1);

  printf("Sum = %.2f\n", sum);

  printf("Average = %.2f", average);

  return 0;

}

Write pseudo code that performs the following: Ask a user to enter a number. If the

number is between 0 and 10, write the word blue. If the number is between 10 and

20, write the word red. if the number is between 20 and 30, write the word green.

If it is any other number, write that it is not a correct color option.​

Answers

Answer:
BEGIN
INPUT N
IF N>0 AND N<10 THEN
OUTPUT "blue"
ELSE
IF N>10 AND N<20 THEN
OUTPUT "red"
ELSE
IF N>20 AND N<30 THEN
OUTPUT "green"
ELSE
OUTPUT "It is not a correct color option"
ENDIF
END.

Explanation:

Ask a user to enter a number. If the number is between 0 and 10, write the word blue. If the number is between 10 and 20, write the word red. if the number is between 20 and 30, write the word green. If it is any other number, write that it is not the correct color option

pseudo-code is:

Write "Please enter a number"

Read colornum

If(colornum >0 and colornum <= 10)

Write blue

else If(colornum >10 and colornum <= 20)

Write red

else If(colornum >20 and colornum <= 30)

Write green

else

Write "not a correct color option"

What is pseudo code?Pseudocode is also called false code. Pseudocode is a natural way of programming description that does not require any strict programming language syntax or underlying technology considerations. In simple words, the pseudocode is the planning or designing program.  

To learn more about Pseudocode refer to:

https://brainly.com/question/24953880

#SPJ2

why are laptops more expensive than desktop with same features and power

Answers

It has the added feature of being portable but mostly laptop under perform desktops


1. Welds made critical piping must be expertly
Completed, thoroughly inspected, and

Answers

Welds made on critical piping must be expertly​ completed, thoroughly​ inspected, and​ also at least as strong as the piping being welded.

What welding process is used on pipelines?

Welding processes are known to be the method that is used in a range of industries such as aerospace, automotive, energy, construction etc.

Pipe welding is known to be one that uses arc welding techniques, such as shielded metal arc welding (SMAW), gas metal arc welding (GMAW) and others. note that Welds that is done on critical piping have to be expertly​ completed, thoroughly​ inspected, and​ also at least as strong as the piping being welded.

Learn more about Welds from

https://brainly.com/question/5794222

How do I execute lines of script from Github? I already know how to execute javascript code but how do I execute it with python or any other type of code?

Answers

Umm you can get the code anytime

A software repository, also known as a 'repo'

Answers

A software repository is a storage location for software packages. Often a table of contents is also stored, along with metadata. A software repository is typically managed by source control or repository managers.

I hope this helps

3. Which of the following strategies will lower the conduction load in a building? (choose all that apply)
A. Lowering the U-factor
B. Raising the U-factor
C. Lowering the A in square feet
D. Raising the A in square feet
E. Lowering the AT
F. Raising the AT

Answers

Explanation:

Site the building carefully. ...

Use trees and other vegetation to shade the house. ...

Minimize size of windows on east and west; limit size on south. ...

Use low-solar-transmittance glazings to reduce solar gain. ...

Shade windows with architectural features.

Different between barcode reader an biometrics device

Answers

Answer:

See below

Explanation:

Overall, scanning a barcode with a barcode reader simply tells you that it can be scanned by that particular reader and does not guarantee quality. While barcode readers are used to read codes, barcode verifiers are used to grade the quality of codes


Why is it pointless to expect cyberattackers to follow organizational legal measures?

A. because they do not abide by business rules and regulations

В. because they are obligated to the laws of the land

c. because cyberattackers are not legally held to the same standards as the common user

D because cyberattackers only exist virtually and therefore cannot ever be caught

Edmentum

Answers

Answer:

The answer is A.

whats your favourite dramas , suggest me some ...........​

Answers

Grownish, vampire diaries, inventing Anna

Select the correct answer.
Derek works in the software quality assurance department. Which tools or process should Derek use to monitor and measure changes?
A.
software engineering process
B.
software quality metrics
C.
SQA audits
D.
reviews

Answers

Answer:

B: software quality metrics .

What does a good SOW include?

a mission statement with summarized sections.
a mission statement with detailed sections
a broad statement with summarized sections
a broad statement with detailed sections

Answers

Answer:

a broad statement with summarized sections

Explanation:

What is the term given to large values of information collected from various sources?

A.
association
B.
classification
C.
neural networks
D.
big data

Answers

The term given to large values of information collected from various sources ; association.

What is the various?

The various can refer to a range of different things, depending on context. It could refer to different types of people, cultures, items, or anything else that can be seen as different or distinct from each other. It could also refer to different ways of looking at or doing something. For example, various methods of problem solving, various approaches to studying, various strategies for communication, etc. Ultimately, the various refers to the different options that exist in a given situation.

To learn more about various

https://brainly.com/question/26986135

#SPJ1

In your program, your ball dropped. What condition made the ball stop when it reached the origin of the axes you had drawn?

Answers

The condition that made the ball stop when it reached the origin of the axes you had drawn is the gravitational force that is of the interaction between two objects with mass.

What is the force that act on an object when you drop a ball?

The gravitational force is known to be a kind of interaction that exist between two objects with their mass.

Note that for a falling ball, the two objects with their known mass are said to be the Earth and also the ball. The power of this gravitational force is said to be proportional to the product of the two said masses.

Learn more about gravitational force from

https://brainly.com/question/72250

Answer:  while ball.pos.y > 0

Explanation: This is the aswer if you are looking fo the equation.

Other Questions
6 ways the health of the people in your community can be improved please help me Which of the following is least likely to be impacted by local theaters? *Coffee shopLawn care serviceTaxi companyHotel Select all the rational numbers. can someone please answer this, ill give you brainliest and your getting 100 points. You buy a pair of jeans for $30 and there is a tax of 8%. What is the total cost of the jeans? Which grievance from the Declaration of Independence is addressed by the Sixth Amendment to the U.S. Constitution?He has obstructed the... Laws for establishing Judiciary powers.He has dissolved Representative Houses repeatedly.For Quartering large bodies of armed troops among us . . .For depriving us in many cases, of the benefits of Trial by Jury . . . which blood type is considered a universal donor? ABABO What was it like to live in America after World War 2?Write in paragraph form please and thank you! Although the assassination of Franz Ferdinand was a local political action, its consequences were:Temporary.Predictable.Global.Minor If you invest $2000 at a rate of 8% per year, how many years will it take to earn at least $1000 in interest? The average height of 5 students is 1.45 m. If one student left the group,the average height of the remaining four of them is 1.44 m. What was the height of the student who left 1) The reaction shown is a dehydration synthesis reaction in which amino acids form a peptide bond to make a protein. What can you infer about the formation ofpeptide bonds between amino acids?A) Peptide bonds are formed between the group of one amino acid and the amino group of the other.B) Peptide bonds are formed between the carboxyl group of one amino acid and the group of the other.Peptide bonds are formed between the carboxyl group of one amino acid and the amino group of the other.D) Peptide bonds are formed between the central carbon of one amino acid and the amino group of the other. How do you think the FIRST governments were formed? what is the legal voting age of each country (government of Mexico, brazil, and cuba) If A(5,-4) and a scale factor of wis applied,what is A'? Which of the following examples would show a negative trend? A. height and weight of students B. test scores and height of students C. outside temperature and heating bill D. none of these Given the information in the passage, one could most reasonably conclude that perspiration due to environmental stress is an example of: Correct any errors in capitalization or punctuation. Your answer should be a single sentence.A character in a play by Bertolt Brecht states, rather ironically "the right to happiness isfundamental."A character in a play by Bertolt Brecht states, rather ironically "the right to happinessis fundamental."Submit In order to rewrite StartFraction 4 x squared minus 3 x + 5 Over 2 x squared minus x EndFraction as a sum of a polynomial and one or more simpler fractions, you must first use long division. The result of the long division is the following. StartFraction 4 x squared minus 3 x + 5 Over 2 x squared minus x EndFraction = 2 + StartFraction negative x + 5 Over 2 x squared minus x EndFraction What is the final expression? 2 + StartFraction 5 Over x EndFraction minus StartFraction 11 Over 2 x minus 1 EndFraction 2 minus StartFraction 5 Over x EndFraction + StartFraction 9 Over 2 x minus 1 EndFraction 2 + StartFraction 5 Over x EndFraction + StartFraction 9 Over 2 x minus 1 EndFraction 2 minus StartFraction 5 Over x EndFraction minus StartFraction 11 Over 2 x minus 1 EndFraction this is confusing as hell, giving branliest