c progamming

profilesanjay6131

 You are to write a program that will use a menu to let you manipulate complex numbers. Your program should allow you to add, subtract, multiply, divide, conjugate, and negate complex numbers. Menu Options: 1 Add 2 Subtract 3 Multiply 4 Divide 5 Conjugate 6 Negate 7 Toggle Menu 8 Quit You will write functions “Read_Complex” and “Write_Complex” to help you. In this program you will also need to make use of “typedef”, and write functions like "negate" to return objects of type “Complex”. Since “real programmers don't use menus”, you should be able to turn your menus on or off at will. You are required to make use of separate compilation with a minimum breakdown of typedefs, I/O functions, arithmetic functions, and main program. 

  • 5 years ago
  • 30
Answer(1)

Purchase the answer to view it

blurred-text
NOT RATED
  • attachment
    boolean.h
  • attachment
    Complex_Arith.h
  • attachment
    Screenshot2.jpg
  • attachment
    complex.h
  • attachment
    Complex_IO.c
  • attachment
    Complex_Arith.c
  • attachment
    Complex_IO.h
  • attachment
    main.c
  • attachment
    Screenshot1.jpg
  • attachment
    Screenshot3.jpg