Run Code
|
API
|
Code Wall
|
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
objective c fibonanci
datatype
array
basic objective c
Ex of String methods
NSMutableset(add/remove,Etraction,Intersect)
inheritenace-test
Etudiant.m
NSSet(Create,Enumrate,Compare,Checking,Combine)
fullname