CS 1100 Study Guide - Midterm Guide: Concatenation
Document Summary
Cs 1100 exam 1 study guide fall 2016. Most of the questions on the concept portion of the exam will likely be multiple choice, ll in the blanks, and read the code. A. public class error1 { public static void main(string[] args) { B. public class error2 public static void main(string[] args) C. public class error3 { public static void main(string[] args) { D. public class error4 public static void main(string[] args) else. E. public class error5 { public static void main(string[] args) { if (10 < 5); Create and set up a scanner object named input. Create an integer variable named quantity and a double variable named price. Assign input from the user into quantity and assign input from the user into price. Convert the following mathematical formulas into java code. Assign the resulting expression to the variable z. Assume the variables a, b, c, x, y, and z have already been declared and initialized.