Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <QCoreApplication>
- #include "mathfunctions.h"
- int main(int argc, char *argv[])
- {
- QCoreApplication a(argc, argv);
- qDebug() << "6! is " << MathFunctions::factorial(6);
- return a.exec();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement