Ok i am learning functions right now and was wondering why does the code in the secound line keep repeating if their are no { } between it?Code:for ( int i = 0; i <= 10; i++ ) ; cout << setw( 2 ) << i << "! = " << factorial( i ) << endl; return 0; }
Thanks alot.
Some things i have to ask sorry.
Cya