Basically, I'm trying to write a program that will ask the user for numbers, then plug those numbers into specific places into an equation.

The equation will look something like this-

=(LOG(60)/LOG(2))-(("First x the user gives"*(LOG("first x the user gives")/LOG(2))+"second x the user gives"*(LOG("second x the user gives")/LOG(2))+"third x the user gives"*LOG("third x the user gives")/LOG(2))/60).

But another problem I run into is when I need more than just three x's. (The equation itself is log(base 2) of 60-[summation of n log n / 60].

And problem number two is that I'm just trying to check and see if I can just ask for a single number from the user with my code, before I try getting into crazy equation coding stuff.

And I can't even do that. :/ My code is below-

public class PsychStat { public static void main (String [] args) { system.out.println ("Enter first trait value"); x = input; system.out.println (x+1); } }

I'm completely new to Java programming, and I'm trying to teach myself. Google isn't really helping much at all with my Java issues.

Any help anyone would be willing to offer would be phenomenal!

Thanks!!