Website Summary Files Commits Branches @commit @diff @stats
path: root / homework / 81030 / example.rs
diff options
context:
space:
mode:
1 files changed, 7 insertions, 0 deletions
-rw-r--r--homework/81030/example.rs7
diff --git a/homework/81030/example.rs b/homework/81030/example.rs
new file mode 100644
index 0000000..e76448d
--- /dev/null
+++ b/homework/81030/example.rs
@@ -0,0 +1,7 @@
+fn answer() -> usize {
+ return 42;
+}
+
+fn main() {
+ println!("The \"Answer\" is: '{}'", answer());
+} \ No newline at end of file