User profile: zipuch

User info
User name:zipuch
Name:Taras
Location:Lviv
History
Joined:
Number of posts:22
Latest posts:

Generating Random Numbers
[code]valueX = rand()%LIMIT+9; // Must start higher than 9, include 9[/code]

distance calculating program
Maybe you should not use [code]string[/code] to get the answer? You can use [code]int[/code], for e...

finding average?
you have extra ')' in expression [code]average = (numberOne + numberTwo + numberThree) / 3);[/code]

IF Else Problem
[code]vMake [/code] has type [code]string[/code] and can compare with strings or with values in quot...

logical operators and loops
you can use [code]rand()*rand()[/code] this number will have range from 0 to rand_max^2