Thread: comlex numbers with struct-help?

  1. #1
    Registered User
    Join Date
    Mar 2011
    Posts
    2

    comlex numbers with struct-help?

    hi,
    i have a homework but i cant understand it :S

    we will calculate 2 complex number but draw real and imaginary with.and give it a struct.

    cant this form
    scanf( "%f", &z1.real );
    printf( "Enter the imaginary part " );
    scanf( "%f", &z1.img );

    real and imaginary part with and this program find it.

    ty.

    {i am sory using bad english

  2. #2
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    We don't do people's homework for them.

    Get busy and give it your best try. If you get stuck post your code and see if anyone can help.

  3. #3
    Registered User
    Join Date
    Mar 2011
    Posts
    2
    Quote Originally Posted by CommonTater View Post
    We don't do people's homework for them.

    Get busy and give it your best try. If you get stuck post your code and see if anyone can help.
    ok,but i cant opinion.can you give any idea?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Matching numbers
    By kirksson in forum C Programming
    Replies: 7
    Last Post: 07-23-2008, 01:51 PM
  2. Question about random numbers
    By Kempelen in forum C Programming
    Replies: 2
    Last Post: 07-02-2008, 06:28 AM
  3. the definition of a mathematical "average" or "mean"
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 7
    Last Post: 12-03-2002, 11:15 AM
  4. Line Numbers in VI and/or Visual C++ :: C++
    By kuphryn in forum C++ Programming
    Replies: 2
    Last Post: 02-10-2002, 10:54 PM
  5. A (complex) question on numbers
    By Unregistered in forum C++ Programming
    Replies: 8
    Last Post: 02-03-2002, 06:38 PM