Given the below program skeleton, insert code where it says such that the program prints the sum

Question:


    1. Given the below program skeleton, insert code where it says such that the program prints the sum of odd integers from 1 to num. You are not required to perform input validation.

public class SumOdd Ints ( public static void main (String[] args) { Scanner stdIn - new Scanner (System.in);

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: