diff options
author | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2023-04-23 00:24:42 -0600 |
---|---|---|
committer | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2023-04-23 00:24:42 -0600 |
commit | a1c15f046183373baf5deb66e77188e656806fb7 (patch) | |
tree | fc1a7f584e67dc583d335f09d5271a45ff7d9df4 /data/test2.c | |
parent | 5f28f80c4e25a56cd444914c2f0b3da5e7fdb088 (diff) | |
download | cminus-a1c15f046183373baf5deb66e77188e656806fb7.tar.gz cminus-a1c15f046183373baf5deb66e77188e656806fb7.zip |
Diffstat (limited to 'data/test2.c')
-rw-r--r-- | data/test2.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/data/test2.c b/data/test2.c index 136ba74..ec9b22a 100644 --- a/data/test2.c +++ b/data/test2.c @@ -1,8 +1,9 @@ -void main() { +void main() +{ println("This program prints 7 7 7 7 7 (separated by newlines)"); println(7); - println(3+4); - println(14/2); - println(7*1); - println((7*2)/2); + println(3 + 4); + println(14 / 2); + println(7 * 1); + println((7 * 2) / 2); } |