Am a beginner and am learning on my own
i started two days ago and am getting on fine
but i have a problem now, some should pls help out
i started with JAVA somedays ago and i think am getting well on it
But the problem i have now is that some of the code written on the material are somehow different wen i work on java IDE
package javaapplication2;
public class main {
public static void main(String[] args) {
int firstnumber, secondnumber, thirdnumber, answer;
firstnumber = 100;
secondnumber = 75;
thirdnumber = 25;
answer = (firstnumber * secondnumber) / thirdnumber;
System.out.print("Total is " + answer);
you can see above that there is no In and Run was successfull
But the material says printIn. y is that so cos its confusing
----------------------------------------------------------------------------------------------------
another one now is
package javaapplication5;
public class JavaApplication5 {
import java.util.Scanner;
public static void main(String[] args) {
String firstname;
System.out.print("Enter Your First Name Here"wink;
firstname = user_input.next();
String secondname;
System.out.print("Enter Your Family Name Here"wink;
secondname = user_input.next();
String fullname;
fullname = (firstname + " " + secondname);
System.out.print("You are" + fullname);
java is telling that there is error on the bolded
can someone pls help out
yahoo
skype
but google and skype will be better
i dont want pple disturbing me on FB
pls PM and i will send my id
Thanks
I cant do it alone