10 lines
164 B
C++
10 lines
164 B
C++
|
#include <complex.h>
|
||
|
|
||
|
void main( void ) {
|
||
|
|
||
|
Complex a (24, 27);
|
||
|
|
||
|
cout << "The square of the magnitude of " << a << " = "
|
||
|
<< norm( a ) << endl;
|
||
|
}
|