Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package p1e2;
- import java.util.Scanner;
- public class P1e2 {
- public static void main(String[] args) {
- Scanner sc= new Scanner(System.in);
- int far, centi;
- System.out.print("Introduzca grados en farenheit ");
- far=sc.nextInt();
- centi=(far*9)/5+32;
- System.out.println("Los "+far+" grados farenheit, seran "+centi+"ΒΊ centigrados");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement