Beginners - February 2017 (Page 37)

Help with (should be easy) homework
 
This has to be in stdio.h and I've tried figuring out what I'm doing wrong here by looking at several example. The function will execute but it comes out to 0 a...
[4 replies] Last: Thanks again both of you, I believe this answered all of my questions ... (by Spacemanspalds)
%
 
I would like to know what happends when using % as an operator if the first operand is lower than the second one. In the followtin code, I don't get how n is c...
[2 replies] Last: 3 % 10 = 0 * 10 + 3 Therefore, 3 % 10 = 3.... (by integralfx)
February 2017 Pages: 1... 353637
  Archived months: [jan2017] [mar2017]

This is an archived page. To post a new message, go to the current page.