2 Commits

Author SHA1 Message Date
john 32346fb92e Update src/main.cpp
hello-world/pipeline/head This commit looks good
ai/code-review AI review reported findings
hello-world/pipeline/pr-master This commit looks good
2026-05-03 10:41:08 +00:00
john 4973316155 Update (#2)
ai/code-review AI review reported findings
hello-world/pipeline/head This commit looks good
Reviewed-on: #2
Co-authored-by: John Burton <john.burton@jbmail.com>
Co-committed-by: John Burton <john.burton@jbmail.com>
2026-05-03 09:15:56 +00:00
+7 -3
View File
@@ -1,11 +1,15 @@
#include <iostream>
// Add six
std::string get_greeting() {
return "Hello, world!";
}
// Add the number of things.
int add_6(int cx) {
return 3 + cx;
return 6 + cx;
}
int main() {
std::cout << "Hello, world!" << add_6(5) << std::endl;
std::cout << "Hello, world!" << add_6(5) << get_greeting() << "/n";
return 0;
}