I want to share my knowledge
I am a professional motivational speaker.
HackerRank Java Currency Formatter (Hacker Rank Problem Solution)
लिंक पाएं
Facebook
X
Pinterest
ईमेल
दूसरे ऐप
-
HackerRankJava Currency Formatter
(Hacker Rank Problem Solution)
problem:
Given a double-precision number, , denoting an amount of money, use the NumberFormat class' getCurrencyInstance method to convert into the US, Indian, Chinese, and French currency formats. Then print the formatted values as follows:
where is formatted according to the appropriate Locale's currency.
Note: India does not have a built-in Locale, so you must construct one where the language is en (i.e., English).
Input Format
A single double-precision number denoting .
Constraints
Output Format
On the first line, print US: u where is formatted for US currency. On the second line, print India: i where is formatted for Indian currency. On the third line, print China: c where is formatted for Chinese currency. On the fourth line, print France: f, where is formatted for French currency.
Download Hindi Sanskrit Grammar App Hindi Sanskrit Grammar App 1 भारत में #1 हिंदी और संस्कृत व्याकरण सीखने का ऐप ✨ मुख्य Features ✔ 50,000+ Downloads और 4.7★ Rating ✔ Offline Content – बिना इंटरनेट पढ़ाई ✔ Sanskrit + Hindi Grammar topics (Sandhi, Samas, Kaal, Vakya) ✔ Practice Quizzes और Exercises ✔ 90% Free Content + Premium Advanced Lessons 📸 App Screenshots 📸 App Review ...
Document कंप्यूटर का इतिहास (History of computer) कंप्यूटर की विभिन्न पीढ़िया क्या है? (What is different generation of computer?) First generation of computer (पहली पीढ़ी के कंप्यूटर) 1.इस पीढ़ी का विकास 1946 से 1955 मे हुआ | 2.इस पीढ़ी के कंप्यूटर बहुत बड़े होते थे | 3.इसमे Vaccum Tube लगे होते थे| 4.इस समय के कंप्यूटर बहुत अधिक गर्मी पैदा करते थे क्योकि इनमे Vaccum Tube लगा हुआ था | 5.इस पीढ़ी के कंप्यूटर मे आज के जैसे ऑपरेटिंग सिस्टम नही होता था | 6.इस पीढ़ी के कंप्यूटर मे डाटा स्टोर करने की क्षमता बहुत कम होती थी| 7.इस पीढ़ी का सबसे पहला कंप्यूटर 1946 मे बनाया गया था| 8.इस पीढ़ी का सबसे पहला इलेक्ट्रॉनिक कंप्यूटर ENIAC था | 9.इसमे गर्मी पैदा होने के कारण AC(Air Condisioner) का प्रयोग होता था| 10.इसमे 1800 Vaccum Tube लगे होते थे| 11.इस समय के कंप्यूटर की गति बहुत कम होता था | 12.इनकी लंबाई लगभग 100 फीट और ऊँचाई 10 फीट होते थे| ...
टिप्पणियाँ
एक टिप्पणी भेजें