// Structure to handle complex numbers
struct complex
{
  float re;    // Real part
  float im;    // Imaginary part
}