Answered step by step
Verified Expert Solution
Question
1 Approved Answer
help please we use Eclipse Assignment2 DueDate: 01/27/19 11:59pm. Instructions for Assignment 2: Question 1: Fahrenheit/Celsius Conversion (60 points The second assignment is to demonstrate
help please we use Eclipse
Assignment2 DueDate: 01/27/19 11:59pm. Instructions for Assignment 2: Question 1: Fahrenheit/Celsius Conversion (60 points The second assignment is to demonstrate an initial use of variables. You can write two programs that convert from Fahrenheit to Celsius, and from Cesius to Fahrenheit. Your version must handle frations of a degree by using the "double" type. The equation for converting F to C is: (F-32) 5/9 The equation for converting C to F is: C 9/5+32 Note that in order to do floating point division, one of the operators must be 5.0 or 9.0 (not 9) Make sure you use parentheses to do the correct computation. You can test your code on the following conversions: 10C-50F, 20C-68F, 40C-40F for first program 99.5F-37.5C, and 98.6F-37C. and for second program The java projects are named yournameF2C and second one yournameC2F Create a class with the same name for first project and second project respectively. The program outputs a pleasant greeting that introduces the program (eg,iwil convert temperatures for you"]. . The program outputs a meaningful message about the conversion along with the result. . The program computes the correct result The program handles "double precision floating point" values like 98.6 or 37.2 .All code is correctly indented. (To fix.indents automatically, type Ctri-Shift-F. This also limits line lengths to 80 characters.) Question 2 Smallest of Three with User Input (40 points) For this assignment, you have to implement simple user input and think about how best to solve a problem, There are many ways to do this assignment. Some are better than others. Make sure you test your solution with a variety of inputs including all of the examples mentioned in the assignment. If you who had a similar assignment in CSIS 2101, please think about this fresh, and do not look at your previous work. Write a program that reads in three integers and determines and prints the smallest number numerically in the group. The values are NOT necessarily entered in numeric order. The program must prompt the user (using cout) and read the three values from the console (using Scanner). It should then print the message "The smallest value among ca>, , andStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started