Computer Science, asked by thiya2332, 4 months ago

Write a program that takes an amount in Indian Rupees as input. You need to find its equivalent in Euro and display it. (Assume 1 Rupee equals 80 Euros. Your program should take only one number as input and display the output.)​

Answers

Answered by rohitkhajuria90
0

public static void main(String[] args)

{

Scanner in = new Scanner(System.in);

double inrAmt = in.nextDouble();

System.out.println("Euro equivalent of" + inrAmt + " : " + inrAmt*80);

}

Similar questions