diff options
Diffstat (limited to 'ROMs/hello_c.c')
| -rw-r--r-- | ROMs/hello_c.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/ROMs/hello_c.c b/ROMs/hello_c.c index 839c12d..f670952 100644 --- a/ROMs/hello_c.c +++ b/ROMs/hello_c.c @@ -1,9 +1,7 @@ -int add(int a, int b) -{ - return a + b; -} - int main() { - return add(1, 2); + int x = 1; + for (int i = 0; i < 10; i++) { + x *= 2; + } }
\ No newline at end of file |
