MCPcopy Create free account
hub / github.com/Apress/beginning-cpp20 / plus

Function plus

Exercises/NoModules/Chapter 08/Soln8_04.cpp:34–37  ·  view source on GitHub ↗

Adding integer values

Source from the content-addressed store, hash-verified

32
33// Adding integer values
34int plus(int a, int b)
35{
36 return a + b;
37}
38
39// Adding floating-point values
40double plus(double x, double y)

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected