Question: This is for Java follow instructions on given practice excercise and only use the switch case statements Points: 100 points in total (50 points for
Points: 100 points in total (50 points for Temperature) and (50 points for Calories). Objective and points break down for each project . (5 points) To display the same exact messages been given in the demo Implement in, t, " ", $ sign, and % sign. (5 points) To create a Java project with multiple classes. (5 points) To use introductory and closing messages * (20 ponts) To use numencal calculations and Mathematical operations "4, -, *, l, %" to solve a real-life challenge (15 points) To implement switch statements only, no if and if else at al. Instructions . Like we did for lab2, create a project called Lab4 with two separate Java files .Use each Java file to implement one of the following projects. Be sure to document your code (add comments on top of your java file). In the comments add your name, date, course, homework number, and statement of problem Once you are done, upload two java files Temperature and calories through Canvas. Project 1: Temperature Write a Java program called Temperature that allows the user to convert a temperature given in degrees from either Celsius to Fahrenheit or Fahrenheit to Celsius. Use the following formulas: . Celsius 5 (Fahrenheit 32) /9 . Fahrenheit (9 (Celsius) 5) 32 . Prompt the user to enter a temperature and ether a C or c for Celsius or an F or f for Fahronheit . Convert the temperature to Fahrenheit if Colsius is entered, or to Celsius if Fahrenheit is entered . Display the result in a readable format .If anything other than C, c, F, or f is entered, print an error mossage and stop Be consistent, the tollowing output message should be displayed as it s . Welcome to Temple Weather Channel Temperature Conversion Program [Q1] Enter a temperature in degrees (for example 29.6): 23 (021 Enter ' (or 'E) for Fahrenheit or 'C' (or 'c') for celsius: c 23.0 degrees c 73.4 degrees Fahrenheit
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
