Loading

wait a moment

Write a java program to convert rupees to dollar. 60 rupees=1 dollar.

Write a java program to convert rupees to dollar. 60 rupees=1 dollar.

import java.lang.*;

import java.io.*;

class rupees

{

public static void main (String args[])

{

float sum,a;

a=Float.parseFloat(args[0]);

sum=a/60;

System.out.println(“rupee is “+a);

System.out.println(“doller is “+sum);

}

}

Leave a Reply

Your email address will not be published. Required fields are marked *