Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
objective c fibonanci
//gcc 4.8.4 #import <Foundation/Foundation.h> int main(void) { int first = 0 ; int second = 1; int next; int c; for ( c = 0 ; c < 10 ; c++ ) { if ( c <= 1 ) next = c; else { next = first + second; first = second; second = next; } NSLog(@"%d\n",next); } }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
HAL is IBM
geomatric operations in objective c
fullname
objective c find factorial
NSMutable Chirag
NSMutable Exercise
simple inheritance in objective c
size of datatypes in objective c
NSMutableStringProgram
find simple Interest in objective c
Please log in to post a comment.