------解决方案--------------------
public class test {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
int sum = 0;
for(int i=1; i<=100 ;i++){
if(i==80){
break;
}else if(i%10==0){
continue;
}else{
sum = sum + i;
}
}
System.out.println(sum);
}
}