This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes ASCII problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "ASCII problem" Watch "ASCII problem" New topic

ASCII problem

Jake Cirino

Joined: Jul 27, 2012
Posts: 17

I have this, where I'm trying to input 2 ASCII characters, a plus/minus sign (it works) and a divide sign, however the divide sign is getting an error. Why is this?

PS: This is a snippet of code, I know there is no class.
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 41084
What error? We can only help if you tell us the details.
William P O'Sullivan
Ranch Hand

Joined: Mar 28, 2012
Posts: 859

But you declare it as dIV ??

I agree. Here's the link:
subject: ASCII problem