MCPcopy Create free account
hub / github.com/PrajaktaSathe/Java / sub

Method sub

Programs/ComplexNosOps.java:30–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28 }
29 // Function to subtract two complex numbers
30 public void sub() {
31 double subr = real1 - real2;
32 double subi = imag1 - imag2;
33 System.out.println("Subtraction is: " + subr + " + " + subi + "i");
34 }
35 // Function to multiply two complex numbers
36 public void mult() {
37 double s1, s2, s3, rs2;

Callers 1

mainMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected