Explore BrainMass
Share

# Examples of C++ Programs

This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

Please see the attached file. The formula for number 4 is as follows

a = r3 + r4
b = (r2*a)/(r2+a)

Thev equiv = r1 + b

© BrainMass Inc. brainmass.com March 21, 2019, 5:04 pm ad1c9bdddf
https://brainmass.com/computer-science/cpp/examples-programs-207775

#### Solution Preview

This solution has four parts, one for each of the problems in the posting.

The first problem was calculating the difference in days between two dates. The solution involves converting each date to the number of days since 0/0/0 and then subtracting those two values. ...

#### Solution Summary

This solution provides 4 C++ programs as examples. One program calculates difference between dates, the second program uses Cramer's rule to solve multiple equations in multiple variables, the third program illustrates several string functions, and the final program calculates the Thev equivalent of a circuit.

\$2.19