cute.bandar
Cyborg Agent
These days I am trying to teach myself the C programming language.
So I found some puzzles for the C language that I am attempting to solve. Link!
Try to do puzzle number B06
Here is the question for those to lazy to click:
My questions to you people are :
1. without looking at the answer or without knowing the answer previously how many of you can do this ? how difficult is this question ?
2. The way I see it , the question is more about maths than programming.(or is programming all about maths ? ) , so how important really is it to get this right ?
cya
So I found some puzzles for the C language that I am attempting to solve. Link!
Try to do puzzle number B06
Here is the question for those to lazy to click:
to solve this you can only use the rand() function from the standard library.Write a function int randInt(int min, int max) that returns a random integer in the range min..max (inclusive).
My questions to you people are :
1. without looking at the answer or without knowing the answer previously how many of you can do this ? how difficult is this question ?
2. The way I see it , the question is more about maths than programming.(or is programming all about maths ? ) , so how important really is it to get this right ?
cya