answersLogoWhite

0

The variables used are x and abs_x, with obvious notation.

1 Input number, x

2 If x < 0 then goto 5

3 abs_x = x

4 goto 9

5 abs_x = -x

9 output abs_x

10 end

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

What is the absolute number of -12?

The absolute value of negative 12 is 12. Absolute value means how far the number is from 0 It may help to draw a number line


What is the absolute number of negative 12?

The absolute value of negative 12 is 12. Absolute value means how far the number is from 0 It may help to draw a number line


What is the greatest six-digit number you can write what is the least six-digit number you can write draw two-place value charts and write one number in each place value-chart?

999999 and -999999


Draw a chart about the real number system?

real numbers chart system ngft5w4xzcfvo


How do you draw a prime number chart?

On a chart with 1-100, highlight or color the boxes of numbers that are prime.


Enter a number and draw a flow chart to get the reverse of the given number and the number is 435?

123


Write algorithms and draw a corresponding flow chart to convert a decimal number to binary equiavalent?

Write algorithms and draw a corresponding flow chart to convert a decimal number to binary equivalent?


C program to Draw a line chart?

draw a line chart.


Draw a flow chart to convert a binary number to its octal equvalent?

gbgb


Draw a flow chart find the largest number of given 3 numbers?

no


Draw a flowchart that will determine and display the largest among the three numbers being inputted?

start input A &amp; B if A&gt;B print A is greatest if B&gt;A print B is greatest stop james ola writes.....SOT.


Draw a flow-chart to count how many of 10 input numbers are positive negative and zero?

draw a flow chart to input ten number and count the positive negative and zero