INPUT :
OUTPUT :
import java.util.*;
class dollar
{
public static void main(String m[])
{
double inr,usd,doll;
Scanner in=new Scanner(System.in);
System.out.print("Enter INR to convert
into USD : ");
inr=in.nextInt();
System.out.print("Enter Current
USD reate : ");
doll=in.nextInt();
usd=inr/doll;
System.out.println("\n
INR="+inr+"\n USD="+usd);
}
}OUTPUT :
No comments:
Post a Comment