Thread: Can you help me

  1. #1
    Registered User
    Join Date
    Oct 2001
    Posts
    9

    Exclamation Can you help me

    Hello,
    Ok this stuff is confuseing me!
    "if "a" is an int, "b" is a double, and "c" is a char, what is the type of value returned by the expression "int(c)" or "sqrt(a * b)"?

    If you can help at all please do I am very desperate for answers!!!

  2. #2
    Registered User
    Join Date
    Oct 2001
    Posts
    9

    Angry

    I love you
    Last edited by Stryder_SoZ; 10-24-2001 at 11:59 AM.

  3. #3
    Registered User Engineer's Avatar
    Join Date
    Oct 2001
    Posts
    125
    int(c) - returns the integer value of the character c (i.e. 'A' = 65)

    sqrt(b*a) - returns the square root of (b multiplied by a).

    Cheers.
    1 rule of the Samurai Code: if you have nothing to say, don't say anything at all!

Popular pages Recent additions subscribe to a feed