Search Results

Showing results 1 to 4 of 4
Search took 0.00 seconds.
Search: Posts Made By: zalezog ; Forum: C and child forums
Forum: C Aug 2nd, 2009
Replies: 25
Views: 991
Posted By zalezog
hmm, let's C:twisted:

void userInput (int matrix[R_SIZE][C_SIZE], int row, int col) //gathering user input
{
/*You are using a for loop in main().This function just accepts input for a...
Forum: C Jul 29th, 2009
Replies: 5
Views: 365
Posted By zalezog
What if '15' does not exist in the array, what happens then ?
How far will index go ?

or, if there are multiple copies of '15'?
Forum: C Jul 29th, 2009
Replies: 5
Views: 427
Posted By zalezog
Instead of putting the whole thing in main(), why not make one or two different functions for computing the total salary and gross salary.

const int OVERTIME_MULTIPLE = 1.5;
const int...
Forum: C Jun 1st, 2009
Replies: 9
Views: 378
Posted By zalezog
The series breaks down to::
1 - 2 / (2 *1) +3 / (3*2!) -....
i.e 1 - 1 + 1/2! - 1/3!
So the first (major) 2 terms of the series cancel out.
Now, may be you define a variable
int sign_carrier =...
Showing results 1 to 4 of 4

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC