technotip.com/7112/c-program-t...
Write a C program to find absolute value of a number entered through the keyboard.
Example For Absolute Value of a Number
1. If user enters/inputs a value of 5. Then the distance from 0 to 5 is 5 units. So the absolute value of 5 is 5. Mathematically its written as |5| = 5. Its read as Modulus 5 is 5.
2. If user enters/inputs a value of -5. Then the distance from 0 to -5 is 5 units. So the absolute value of -5 is 5. Mathematically its written as |-5| = 5. Its read as Modulus -5 is 5.
C Programming Interview / Viva Q&A List
technotip.com/6378/c-programmi...
C Programming: Beginner To Advance To Expert
technotip.com/6086/c-programmi...
Негізгі бет C Program To Find Absolute Value of a Number
Пікірлер: 2