answersLogoWhite

0

#include

double complex complex_value;

if (cimag (complex_value)==0.0)) puts ("Real");

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

How do you check the codes?

how can check my i e c code activity/validity


Order properties of real numbers?

The standard properties of equality involving real numbers are:Reflexive property: For each real number a,a = aSymmetric property: For each real number a, for each real number b,if a = b, then b = aTransitive property: For each real number a, for each real number b, for each real number c,if a = b and b = c, then a = cThe operation of addition and multiplication are of particular importance. Also, the properties concerning these operations are important. They are:Closure property of addition: For every real number a, for every real number b,a + b is a real number.Closure property of multiplication: For every real number a, for every real number b,ab is a real number.Commutative property of addition:For every real number a, for every real number b,a + b = b + aCommutative property of multiplication:For every real number a, for every real number b,ab = baAssociative property of addition: For every real number a, for every real number b, for every real number c,(a + b) + c = a + (b + c)Associative property of multiplication: For every real number a, for every real number b, for every real number c,(ab)c = a(bc)Identity property of addition: For every real number a,a + 0 = 0 + a = aIdentity property of multiplication: For every real number a,a x 1 = 1 x a = aInverse property of addition: For every real number a, there is a real number -a such thata + -a = -a + a = 0Inverse property of multiplication: For every real number a, a ≠ 0, there is a real number a^-1 such thata x a^-1 = a^-1 x a = 1Distributive property: For every real number a, for every real number b, for every real number c,a(b + c) = ab + bcThe operation of subtraction and division are also important, but they are less important than addition and multiplication.Definitions for the operation of subtraction and division:For every real number a, for every real number b, for every real number c,a - b = c if and only if b + c = aFor every real number a, for every real number b, for every real number c,a ÷ b = c if and only if c is the unique real number such that bc = aThe definition of subtraction eliminates division by 0.For example, 2 ÷ 0 is undefined, also 0 ÷ 0 is undefined, but 0 ÷ 2 = 0It is possible to perform subtraction first converting a subtraction statement to an additionstatement:For every real number a, for every real number b,a - b = a + (-b)In similar way, every division statement can be converted to a multiplication statement:a ÷ b = a x b^-1.


Write a program to adentify whether a character entered by a user is a vowel or a consonant?

You can check the value of a character by using if statements.Also, note that this code does not check for capital letters./* code */#include int main(){char c;c = getc(stdin);if (c 'o') {/* If the character is a vowel, this code will be executed. */} else if (c >= 'a' && c


How do you check account holder's name using account number?

how to know a/c holder name by a/c number


Need a code which generates c code for given specification?

It is possible in Star Trek, impossible in real life.


How to evaluate 2a plus 6b?

2a + 6b = c, where a, b, and c are all numbers from the domain of your choice. Usually, in algebra, the real number set R is used as the domain. In this case, you would need to select values from R for a and b which will yield the value of c. Since this function is closed in the real number system, c will always be a real number, given that a and b are real numbers.


Is the product of two imaginary numbers always an imaginary number?

If you are talking about pure imaginary numbers (a complex number with no real part) then no. Example: bi times ci where b and c are real numbers equals b*c*i² = b*c*(-1) = -b*c, which is a real number, because b & c & -1 are all real numbers. If you're talking about multiplying two complex numbers (a + bi)*(c + di), then the product will be complex, but it could be real or imaginary, depending on the values of a, b, c, & d.


Show that the set of all real numbers is a group with respect to addition?

Closure: The sum of two real numbers is always a real number. Associativity: If a,b ,c are real numbers, then (a+b)+c = a+(b+c) Identity: 0 is the identity element since 0+a=a and a+0=a for any real number a. Inverse: Every real number (a) has an additive inverse (-a) since a + (-a) = 0 Those are the four requirements for a group.


Check no is even or odd is wrtten usig function?

If your question refers to computer code, the idea is to check the remainder of a division. If the remainder, when you divide by 2, is 0, then the number is even. For example, in Java:if (number % 2 = 0)System.out.println("Your number is even.")elseSystem.out.println("Your number is odd.")Similar in C, except that the output command varies.


What is California penal code 475 c?

475 (c) Every person who possesses any completed check, money order, traveler's check, warrant or county order, whether real or fictitious, with the intent to utter or pass or facilitate the utterance or passage of the same, in order to defraud any person, is guilty of forgery.


What is the code number for code c on forever lost?

In the office room with the computer without keyboard. If you wait just a bit, the screensaver will come on. And the screensaver is your answer "C : 8008"


What is the quotient of two real numbers with the same sign?

The sign of the quotient will be positive. +A/+B = +C. -A/-B = +C. This assumes B is not zero.