-
-
Save uncoded-ro/ba58f8f0be41f11ac3122b3ca1e38142 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Complex { | |
Complex() { | |
parteaReala = 0.0; | |
parteaImaginara = 0.0; | |
} | |
Complex(double real, double imag) { | |
parteaReala = real; | |
parteaImaginara = imag; | |
} | |
private double parteaReala; | |
private double parteaImaginara; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment