Reputation: 5 Worker
- Active Members
- Active Posts:
- 57 (0.06 per day)
- 06-April 11
- Profile Views:
- Last Active:
- Mar 11 2013 11:49 AM
- OS Preference:
- Favorite Browser:
- Favorite Processor:
- Favorite Gaming Platform:
- Your Car:
- Who Cares
- Dream Kudos:
Posts I've Made
Posted 11 Mar 201319753086420
I was doing some math with Google's calculator and copied the answer
Posted 16 Nov 2012It'll probably help if you post the rest of the code. One thing I noticed with this part -- You're returning a[i], but a is a character array, whereas the function's expecting a return value that's an integer.
Posted 2 Nov 2012Like Aphex said, this isn't the place for snippets, but thanks for posting!
One thing I noticed, though - Is it generally a good idea to let member variables be public?
Posted 18 May 2012Just a few things first.
It makes it easier for us to help you if you use [code] tags.
Post what you've already tried; we don't just do you homework.
Second, here are a few ideas:
Create a method to update the tuition, and assign the yearly tuition to it.
Create a variable to find the cost of tuition for four years, starting with a given year.
You could do the above just starting at year 10, but this is good practice for reusability.
Aside from that, keep us posted on what you're trying/what you've done, it shows that you're making good progress on this, and that you're putting in an effort to solve this on your own. Good luck!
Posted 18 May 2012xOr, or Exclusive or, is used to determine if two signals are different, and one is, well, one.
Regular or will return a 1 if either of them are a 1, so it would work with <0, 1> or <1, 1>. xOr is only going to evaluate to a 1 if exclusively one is true.
pbl did a good job of explaining it using some examples. Mainly, Exclusive or is used in encryption, as or can be used in most logical practices.
- Member Title:
- D.I.C Head
- Age Unknown
- August 3
- Programming, Video Games, Reddit, Robotics
- Years Programming:
- Programming Languages:
- C++, Python, Java, Shell, C#, RobotC
- Click here to e-mail me
MangoTux hasn't added any friends yet.