13. Java Currency Formatter - Introduction | Java | Hackerrank

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

Lot of background noise from ur end
Please concentrate on ur mic apart that everything is good

maheshetikala
Автор

Mic setting not good one side sound is coming

Ravikumar-gjqw
Автор

Nice content GeeksByte, but please removing noise in between, and upload more solutions of hackerrank.
thanks for free content.

indiansoftwareengineer
Автор

Can you explain why we are not creating a new Locale for CHINA and FRANCE?
But only for INDIA.
Please I want to know explain it.

krishnanshudey
Автор

these all packages i dont know, how to learn it as i am begineer

manthiramkonar
Автор

I am getting an output from :String india = Locale("en", "in")).format(price);
with price =25;
but my result iinstead of Rupees/Rs, I get: ?25.00. Any suggestion will be appreciated thanks.

kigana
Автор

Locale.us is written wrong(code won't compile), there should be Locale.US

Anonymous-pnou
Автор

Error... Again in my code.
package sun.util.locale.provider does not exist
import sun.util.locale.provider. LocaleDataMetaInfo;

ashumewada
Автор

everything is fine but am getting rupees as Rs.

sairohithmangaiahgariradha
Автор

your sound system is so irritating bro plz check your mike otherwise you will loose another time

bhaneshnawale
Автор

import java.text.NumberFormat;
import java.util.Locale;
import java.util.Scanner;

public class App {
public static void main(String[] args) {

Scanner scan = new Scanner(System.in);
System.out.println("Enter amount of money: ");
double payment = scan.nextDouble();
scan.close();

String us =
String canada =
String uk =

System.out.println("US: " + us);
System.out.println("Canada: " + canada);
System.out.println("UK: " + uk);

}

}

kvelez