/** Computes a sum of odd integers between two bounds. Input: a, the lower bound (may be odd or even). Input: b, the upper bound (may be odd or even). Output: sum of odd integers between a and b (inclusive). */ import java.util.Scanner; public class SumRandomNumbers { public static void main(String[] args) { // Read values for a and b Scanner in = new Scanner(System.in); System.out.println("How many numbers do you want to add?"); int num = in.nextInt(); double sum = 0; System.out.println("\nThe sum is " + sum); } }