The capability to display the values stored in variables with the Objective-C built-in printf() function is very useful. In the previous task, you saw that the code %i is a placeholder for integer variables:
printf ("The amount in your account is
$%i\n", amount);
You are currently reading a PREVIEW of this book.
Get instant access to over
$1 million worth of books and videos.