I have just embarked on a Java programming course and have been given a task to work out the volume of a cylinder in cubic inches with a given radius and height. and then to convert it from cubic inches to to cubic Cm's which i have done fine.
My problem is it wont complie with an error on one of the
lines that i have in the program
i have checked that i have the syntax correct and it still wont compile.
Would some one be able to give me some advice
I know this is going to sound like a totaly dumb request but hey we all have to start somewhere dont we
Jump to Post
Post the error that you're getting. Often, a syntax error may not be on the line given by the message. It could be a few lines up and the effect of the error isn't seen by the parser until that line.
All 7 RepliesReply to this topic
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.