hi mods..am new here..this is my first time to post here..btw..can someone check the errors on my work..am very poor in java..am a 1st year college taking up IT..am using notepad and command promt..my work dosnt run coz too many errors..may someone check this out..thnxx
import java.io.*;
public class Help{
public static void main(String args[]);
BufferedReader reader=new BufferedReader(New input StreamReader(System.in));
Float B;
Float F;
Float C;
Float S;
System.out.print("Enter the value for B");
System.out.print("Enter the value for F");
System.out.print("Enter the value for C");
System.out.print("Enter the value for S");
try{
F=float.parseFloat(reader.readLine);
C=float.parseFloat(reader.readLine);
S=float.parseFloat(reader.readLine);
F=F-(B*2);
C=C-B;
S=S-B;
}
catch(Exception e){
System.out.print("Error");
}
System.out.println("The Equivalent in Fudge"+F)
System.out.println("The Equivalent in Cookies"+C)
System.out.println("The Equivalent in Square"+S)
}
}
I think this is very easy for Pro's like you guys..and plss point out wheres my errors are..thnx a lot..