elithunders
elithunders elithunders
  • 19-01-2020
  • Computers and Technology
contestada

write a c program that captures two integers from the keyboard and prints the absolute value between the two integers​

Respuesta :

PleaseCommitHelp PleaseCommitHelp
  • 19-01-2020

console.writeLine("Enter a integer")

int num1 = console.readline();

console.writeline("Enter another integer")

int num2 = console.readline();

int difference = num1 - num2;

console.Writeline("The difference between the numbers is"+difference)

If you copy paste this, you will get an error, type it in line by line

Answer Link

Otras preguntas

Using the diagram on the right, what would the measure of Angle c be if Angle a=55. c=59 c=90 c=116 c=66
The Donner family uses 2 3/4 pounds of dog food per week. How many pounds of dog food will the Donner family use in 12 weeks?
15 and 30 are common multiples of 5 and A. if A is a one digit number greater than 1, what is a?​
Which country had not laid claim to the northwest ?
How was the constitution significant in helping african Americans to gain civil rights ?
What gave Portugal an advantage in the slave trade? A. a shared language with African slave traders. B. a trade agreement with Italian merchants C. trading po
What did Napoleon do to those he saw as a threat?
Does this set of ordered pairs represent a function? Why or why not ?
Milan makes 9 dollars for each hour of work. Write an equation to represent his total pay p after working h hours.
The radius of a semicircle is 1 centimeter. What is the semicircle's diameter?