Search found 2 matches

by Wilhelm4
Wed Mar 18, 2009 8:25 pm
Forum: Programming Discussion
Topic: c++ class help
Replies: 5
Views: 751

Re: c++ class help

That did the trick, after a little playing around with it i got it to work. Thanks for the help avansc.

1 question:

Code: Select all

int oz;

(double)(oz/2)
Does that make it so the integer oz will display a decimal (if its odd of course)?
by Wilhelm4
Wed Mar 18, 2009 1:03 pm
Forum: Programming Discussion
Topic: c++ class help
Replies: 5
Views: 751

c++ class help

Hi, I havent been to these forums in years, but I'm in a programming 1010 class and I cannot figure out one small part on the assignment, I was hoping someone here would see what I'm missing. I have all the functions and code written and working, it is just the math that I cant get right for the fol...