i have a simple program im making with basic knowledge of java

its supposed to prompt for a celsius temperature
do the calculation to convert it to fahrenhiet
then pop up saying the result


this is what i have its telling me line 8 has incompatible types

import javax.swing.*;

public class TemperatureConv erter {
public static void main(String[]args) {
...