Isaguirre_Ulam.java - Isaguirre Daniel G WTHFS 1:30-6:00 import java.util.Scanner public class Isaguirre_Ulam public static void main(String args

Isaguirre_Ulam.java - Isaguirre Daniel G WTHFS 1:30-6:00...

This preview shows page 1 out of 1 page.

/** Isaguirre, Daniel G. WTHFS 1:30-6:00 */ import java.util.Scanner; public class Isaguirre_Ulam { public static void main(String[] args) { Scanner ob = new Scanner(System.in); // input N System.out.print("Input N: "); int N = ob.nextInt(); System.out.print("Ulam Sequence: \n"); System.out.print(N); // the condition for N should be greater than 1

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture