I Need A Program That Prints To The Screen All The Even Numbers From 2 To 100 An

  1. I need a program that prints to the screen all the even numbers from 2 to 100 and that starts a new line after every multiple of 20 (20, 40, 60, & 80). Save this file (class) as EvenNums.
  2. I need a program that asks the user to type 1,2,3, or 4. When the user types a 4, the program ends. If the user types 1,2, or 3 the program displays “Good job!!” and then asks the user for another input. When the user types any other number the application issues an error message and then asks for another input. Save this file (class) as Input123.
  3. I need a program that prints every integer value from 1 to 20 along with the squared value of each integer. Save this file (class) as TableofSquares.
  4. I need a program that sums the integers from 1 to 50 (1+2+3+…..+50). Save this file (class) as Sum50.

/** To change this license header, choose License Headers in Project Properties.* To change this template file, choose Tools | Templates* and open the template in the editor.*/package…

Prof. Angela


Calculate Price

Price (USD)
Open chat