Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.*;
- public class PA4_2
- {
- public static void main(String[] args)
- {
- System.out.println("Welcome to Sourena's temperature converter!");
- Scanner keyboard = new Scanner(System.in);
- System.out.println("Celsius Fahrenheit");
- System.out.println("---------------------");
- for(int i = 0; i < 31; i++) {
- double f = 1.8 * i + 32;
- System.out.println(i + " " + f);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement