Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Program to find the absolute value of given integer using
Conditional Operators

Answer Posted / bushahiro emmy

#include<stdio.h>
#include<math.h>
int main()
{
int X;
printf("Entrez un nombre: ");
scanf("%d",&X);
printf("la valeur absolue de %d est %.2lf.\n",X,fabs
(X));
return 0;
}

Is This Answer Correct ?    7 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How is null defined in c?

1157


Did c have any year 2000 problems?

1112


What are c header files?

996


what is diffrence between linear and binary search in array respect to operators?what kind of operator can be used in both seach methods?

1864


In c programming, explain how do you insert quote characters (? And ?) Into the output screen?

1249


How many loops are there in c?

1115


Write a program to check whether a number is prime or not using c?

1060


What do you mean by dynamic memory allocation in c?

1105


What is a node in c?

976


What is the value of c?

1069


string reverse using recursion

2476


write a program fibonacci series and palindrome program in c

1050


How can you convert integers to binary or hexadecimal?

1038


how to print the character with maximum occurence and print that number of occurence too in a string given ?

2478


Why should I prototype a function?

1205