Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "c64.h"
- #include "stdio.h"
- void main() {
- unsigned int z = 32768;
- unsigned int s0 = 0;
- unsigned int s1 = 1;
- unsigned int y;
- clrscr();
- printf("%u\n",s0);
- printf("%u\n",s1);
- while (y < z) {
- y = s0 + s1;
- if (y < z) {
- printf("%u\n",y);
- s0 = s1;
- s1 = y;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement