1.14. C and C++

Now for the most famous program of all time! This program is often the first program someone will write in a new language. Here it is presented in the original C language!

You can also have C++ code in an activecode.

1.15. Unit Tests in C++

You can also have hidden unit tests in C++ using catch.hpp. Place the unit tests after ‘====’.

Write a function to compute the factorial of a. number

You have attempted of activities on this page