import java.util.Scanner;
public class Program_1 {
public static void main(String[] args) {
int rupees;
double dollar;
Scanner scan = new Scanner(System.in);
rupees = scan.nextInt();
dollar = rupees / 60;
System.out.println(rupees + " Rupees = " + dollar + " Dollar");
}
}
import java.util.Scanner;
public class Program_1 {
public static void main(String[] args) {
int rupees;
double dollar;
Scanner scan = new Scanner(System.in);
rupees = scan.nextInt();
dollar = rupees / 60;
System.out.println(rupees + " Rupees = " + dollar + " Dollar");
}
}
No comments:
Post a Comment