answersLogoWhite

0


Best Answer

import java.util.Scanner;

public class rupeesconversion {

public static void main(float[] args) {

//Have the user to enter rupees

System.out.println("Enter rupees");

double rupees_r;

//Convert rupees to dollars.

if (rupees_r>1) {

double dollar = ruppes_r/45.2;

System.out.println("the converted value from rupees to dollars is:"dollar);

}

else

System.out.println("Try again");

}

}

User Avatar

Wiki User

13y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

12y ago

import java.util.Scanner;

public class conversion {

public static void main(String[] args) {

Scanner s = new Scanner(System.in);

System.out.println("Enter rupees: ");

double rupees = s.nextDouble();

if (rupees>1) {

double dollar = rupees/45.2;

System.out.println("the converted value from rupees to dollars is:"+dollar);

}

else

System.out.println("Try again");

}

}

This answer is:
User Avatar

User Avatar

Wiki User

5y ago

At the moment a dollar is worth 66,93 indian ruppees.

If you have your dollar value storred in value as such:

double dollarValue;

double indianRupValue = 66,93*dollarValue;

This answer is:
User Avatar

User Avatar

Wiki User

10y ago

a program to convert indian rupees in to pounds

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Write a simple Java program to convert rupees to dollars?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Write a simple Java program to convert dollars to rupees?

import java.util.Scanner; public class rupeesconversion { public static void main(float[] args) { //Have the user to enter rupees System.out.println("Enter rupees"); double rupees_r; //Convert rupees to dollars. if (rupees_r>1) { double dollar = ruppes_r/45.2; System.out.println("the converted value from rupees to dollars is:"dollar); } else System.out.println("Try again"); } }


How much does 850 dollars equal in rupees?

850 U.S. dollars = 43 256.9975 Indian rupeesJust googled it, it's as simple as that.


How do you convert cents in to dollars?

How to Convert Dollars and Cents: it is very easy and simple, since 1 dollar is equal to 100 cents, in order to convert dollars to cents, all you need to do is multiply dollars by 100. If you have to convert cents to dollars, all you need to do is divide the amount in cents by 100 to get an answer in dollar.


Where can one learn how to convert US Dollars to Indian Rupees'?

One can know the conversion by simply going on Google. Many websites can do the conversion, and it's simple and easy to do. Another way is to go to a local bank or a money exchange shop and directly asking people working there.


How do you convert a File to WMV?

Hamster Free Video Converter can help you, very simple and functional program. Download the program from the Related Link below.


What is the value of 25k in simple Indian rupees?

25000


How do you convert percentage to dollars?

It is simple for eg. 20% of $95 would be $18 see I told you it would be easy!


How many GB is 1356.641 MB?

How to Convert MB to GBAnswer: 1.325 GB.I use a program called 'Convert'. It's free, simple and has several different types of conversion categories than just computer sizes. You can get this program at http://www.joshmadison.com/software


What is 15 dollars and 75 cents times 6?

15.75 dollars * 6 = 94.50 dollars. So simple with a calculator!15.75 dollars * 6 = 94.50 dollars. So simple with a calculator!15.75 dollars * 6 = 94.50 dollars. So simple with a calculator!15.75 dollars * 6 = 94.50 dollars. So simple with a calculator!


What's the best program to convert a PDF file to Doc?

It depends on how much you want to pay and how important the conversion is. A simple program called pdftoword will do the job and is free but if you want the so called "best" program, you have to go with adobe (writer).


How do you convert mobi to mp3?

The only way to convert mobi files to mp3 files is by using a program you can download through other websites. There are several free programs available for download and they are very simple to use.


What is a program in c to convert radiance to degree?

radiance should read radians. angle in degrees = angle in radians * 180 / Pi I will leave the actual programming to you as it is very simple.