I am using an XML to feed data to a chart.
However, I need a control be able to multiply the Y value of every point by a floating point value.
Is my only option to go item by item, multiply, resave it to xml and replotting?
Or is there another way you might know about?
Viewers will learn one way to get user input in Java.
Introduce the Scanner object:
Declare the variable that stores the user input:
An example prompting the user for input:
Methods you need to invoke in order to properly get user input: