Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ASCII problem

 
Jake Cirino
Greenhorn
Posts: 17
Chrome Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Posts: 48917
58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What error? We can only help if you tell us the details.
 
William P O'Sullivan
Ranch Hand
Posts: 859
Chrome IBM DB2 Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

But you declare it as dIV ??

WP
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic