INF 231

Declaring and Using Arrays

INF231 Week 4 Assignment public class gradesArray { public static void main(String[] args) { String[] nameArray = {“Jon”, “Rajesh”, “Elizabeth”, “Julio”, “Chang”}; String[] gradeArray = new String[5]; double[] score1Array = {72, 60, 45, 70, 89}; double[] score2Array = {50, 70, 60, 85, 90}; double[] score3Array = {70, 80, 90, 100, 100}; double[] averageArray = new …

Declaring and Using Arrays Read More


INF231 WEEK 4 QUIZ Question 1 1 / 1 pts Incremental model has ____ initial delivery cost and ____ customer confidence. (Links to an external site.)Links to an external site. Correct! low, high high, high low, low high, low Top of Form Bottom of Form The answer can be found in Ch. 3 Section: Iterative …

INF231 WEEK 4 QUIZ Read More

Working with Conditionals and Loops Lab

import static java.lang.System.out; import java.util.Scanner; public class AverageGrade { public static void main(String[] args) { double TestScore1; double TestScore2; double TestScore3; String name1; Scanner Keyboard = new Scanner(; System.out.print(“Please enter your name:”); name1 = Keyboard.nextLine(); System.out.println(“Please enter test score1”); TestScore1 = Keyboard.nextInt(); System.out.println(“Please enter test score2”); TestScore2 = Keyboard.nextInt(); System.out.println(“Please enter test score3”); TestScore3 = …

Working with Conditionals and Loops Lab Read More

Final: Temperature Conversion

INF231 Week 5 Final Temperature Conversion INF231 Week5 Final Project. import java.util.Scanner; public class FinalTemp{ public static void main(String[] args) { System.out.println(“Hello Instructor Alkilani, this is the INF231 Final assignment for Joseph Kennedy”); Scanner sc = new Scanner(; boolean repeat=true; while (repeat) { try{ System.out.print(“nEnter temperature in Fahrenheit :”); String; int temperature=Integer.parseInt(input); float celsius …

Final: Temperature Conversion Read More

Scroll to Top