Answer :
Answer:
System.out.printf("%.2f%n",outsideTemperature);
Explanation:
The printf is for the formatting.
%.2f is for the 2 decimal places
%n is for the new line.

Following are the program to the given question:
Program Explanation:
- Import package.
- Defining a class "Main".
- Inside the class defining the main method.
- Defining a double variable "outside_Temperature" that uses a Scanner class object that inputs the value.
- In the last step, use a print method that prints two decimal points values.
Program:
import java.util.*;//import package
public class Main //defining a class Main
{
public static void main(String[] arxb)//defining a main method
{
Scanner inxr = new Scanner(System.in);//creating Scanner class object
double outside_Temperature=inxr.nextDouble();//defining a double variable that inputs double value
System.out.printf("%.2f\n", outside_Temperature);//print two decimal points value
}
}
Output:
Please find the attached file.
Learn more:
brainly.com/question/10897239
