testreview - would be 5 int n = carbon.nextInt for(int...

This preview shows page 1 out of 1 page.

// Java Document, Author: Ashton Innocent; Assignment: Test Review Q3import java.util.Scanner;public class testreview {public static void main(String[] args) {Scanner carbon = new Scanner(System.in);double answer = 1;System.out.println("Put in a number to multiply up to (e.g., 1*3*5

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture