User profile: crimsonzero2

User info
User name:crimsonzero2
History
Joined:
Number of posts:83
Latest posts:

Program to decide what Tax Bracket your are in.
[code] double computeTax(int income) { if (income > 336550) return (35); else if (income > 188450 &&...

Help me understand pointers
when you do i = 5, i is set into memory with the value of 5. the pointer p just basically points to...

Program to decide what Tax Bracket your are in.
try double computeTax(int income), this way, you use the value given to the function. computeTax(in...

Help me understand pointers
basically a pointer is the address to some sort of memory within the computer. Here is an example o...

Attack + health system!
Based on what everyone has said, for the health of the enemy I would try this: [code]slime.health = ...