wap to obtain the absolute value of a entered number
Share
wap to obtain the absolute value of a entered number
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Answer:
// Asking for input printf("Enter the number: "); scanf("%d", &num); Then, the user is asked to enter a number. absolute = abs(num); absolute = abs(num);