# Program to convert a Billion to Crore In Java

Hi coders! today we going to write a code to convert a billion amount to crore in Java. As we move across the world we find different currency and there is also a different standard of counting too. The billion is adopted by the International numeral system of counting and the crore is a part of the Indian numeral system of counting. Hence the conversion is necessary whenever we do International transactions and many more tasks.

So let’s start coding it in Java.

Our mail formula will be like this:

result=d*100
result=d*0.01

1 Billion = 1,00,00,00,000 = 100 crore

## Program: Billion to crore in Java

```package codespeedy_programs;
import java.util.Scanner;
public class poundstokg {

public static void main(String[] args) {

Scanner sc=new Scanner (System.in);
System.out.println("1. Billion to crore");
System.out.println("2. crore to billion");
int n=sc.nextInt();
System.out.println("enter amount for conversion");
double d=sc.nextDouble();
String st="";
double result=1;
if(n==1)
{
result=d*100;
st="crore";}
else
{	result=d*0.01;
st="billion";}
System.out.println("after conversion: "+result+" "+st);

}

}
```

OUTPUT:

```menu
1. Billion to crore
2. crore to billion
1
enter amount for conversion
56
after conversion: 5600.0 crore