Harvard's CS50 Problem Set 1: C _Smart Water

10:20:00 AM

After CS50 Week 1 Wednesday & Friday

Where to find problem set 1:C?


What's my result?



How did it checks out?










What did I learn?
printf ("Minutes: %i\n",i);
printf ("Bottles: %d\n", x);
Found out that the red highlighted i is not there to match the yellow i.
%i means a variable integer, i means a defined integer i.
Same thing applies with %d and x 

What was my reference?
The % Format Specifiers
https://www.le.ac.uk/users/rjm1/cotter/page_30.htm

You Might Also Like

0 comments

Popular Posts

Like us on Facebook

Flickr Images

Subscribe