/in/Main.java:26: error: bad operand types for binary operator '<'
while(s<80){
^
first type: Scanner
second type: int
/in/Main.java:28: error: no suitable method found for printf(int)
System.out.printf(i);
^
method PrintStream.printf(String,Object...) is not applicable
(argument mismatch; int cannot be converted to String)
method PrintStream.printf(Locale,String,Object...) is not applicable
(argument mismatch; int cannot be converted to Locale)
/in/Main.java:30: error: cannot find symbol
a=s.nextInt();
^
symbol: variable a
location: class Main
/in/Main.java:31: error: cannot find symbol
S+=a;
^
symbol: variable a
location: class Main
4 errors