// // CS212 Review #5 // // Author: ??? // Instructor: John Wang // // Goal: Thie progrsm will compute 1+2+ ... + 100 // import java.util.Scanner; class Review_5 { public static void main(String[] args) { Scanner input = new Scanner(System.in); int sum = 0; for(int count=0; count<=100; count++) { sum += count; } System.out.println(sum); System.out.println("Done."); } }