Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forumsvariable confusion
https://www.eclipse.org/forums/index.php/mv/msg/1069828/1706714/#msg_1706714
I am trying to create a simple calculator that receives two numeric values from the user and adds them together. My current code looks like this:
--------------------------------code---------------------------------------------------------------------
import java.io.*;
public class Calculator {
public static void main(String[] args) {
String s1 = getInput("Enter a numeric value: ");
String s2 = getInput("Enter a numeric value: ");
I believe the problem has something to do with calling the "d3" variable that is adding the two numbers together. Let me know what you think and if you can help. Thanks!]]>Brandon Finley2015-08-29T04:10:14-00:00Re: variable confusion
https://www.eclipse.org/forums/index.php/mv/msg/1069828/1706735/#msg_1706735
This is primarily a forum for people encountering issues specifically with Eclipse, not really one aimed at covering questions about the supported languages themselves. You'd find a more appropriate audience at http://www.javaranch.com/ and their "Beginning Java" forum at http://www.coderanch.com/forums/f-33/java (assuming Lynda has no such outlet of their own).]]>Nitin Dahyabhai2015-08-29T12:32:28-00:00Re: variable confusion
https://www.eclipse.org/forums/index.php/mv/msg/1069828/1706912/#msg_1706912
Brandon Finley2015-08-31T18:44:59-00:00