BoutCheetah

Other => Off Topic => Topic started by: Yoshi91 on September 27, 2011, 01:22:07 AM

Title: JCreator Program Helpp
Post by: Yoshi91 on September 27, 2011, 01:22:07 AM
Well, urm, since this community is somewhat packed with computer nerds (in a nice way), I thought some could help me understand this:

*Write an application that reads two floating point numbers and print their sum, difference, and product.

I searched my textbook and used google, but I still don't really understand what floating point numbers are. And how to make the app...
Could someone be nice enough to explain to me how to do this? Maybe demonstrates the coding for me?

Thanks.


btw, if you're wondering.. this is for AP Computer Science class. My teacher was absent today and the sub did a poor job on filling us in on the h/w.

Title: Re: JCreator Program Helpp
Post by: KillerPig on September 27, 2011, 01:28:50 AM
http://web.presby.edu/~wasmith/courses/241/notes/PromptAndBranch.htm (http://web.presby.edu/~wasmith/courses/241/notes/PromptAndBranch.htm)

http://answers.yahoo.com/question/index?qid=20080209175849AA3xTsf (http://answers.yahoo.com/question/index?qid=20080209175849AA3xTsf)


???
Title: Re: JCreator Program Helpp
Post by: Styx on September 27, 2011, 01:49:47 AM
do ur homework urself
Title: Re: JCreator Program Helpp
Post by: Yoshi91 on September 27, 2011, 01:54:06 AM
@Pig, those I've already found useless.

Anyway, I figured it out myself. (by diligently read the textbook lmfao)

floating pts.= double
intergers = int

that was all. lol.

K, I'll lock this now.