Java Project Copied
Java Project Copied
MUMBAI
A PROJECT REPORT ON
“Corrency Conversion”
DIPLOMA IN ELECTRONICS AND COMPUTER ENGINEERING
SUBMITTED BY
Mr. Musandi Apurv G.
Mr. Bhosale Deepankar A.
Mr. Mujawar Junaid I.
Mr. Kumbhar Shravan A.
Mr. Rajmane Paras A.
Mr. Patil Namdev G.
Prof. R. M. Mulla
Certificate
This is certify that the following students of Fourth semester of Diploma Programme in
ELECTRONICS AND COMPUTER ENGINEERING of Institute SANT GAJANAN MAHARAJ RURAL
POLYTECHNIC, MAHAGAON-416503(CODE-0965) has completed Micro project on “Currency
Conversion.” satisfactory in subject JPR subject code:22412 for academic year 2022-2023 as prescribed
in the curriculum.
ROLL NO. ENROLLMENT NO. SEAT NO. NAME OF STUDENT
Date:
SR.NO TITLE
1 ABSTRACT
2 INTRODUCTION
3 LITERATURE REVIW
4 COURSE OUTCOMES
5 PROGRAM
6 OUTPUT
8 ADVANTAGES
9 DISADVANTAGES
10 APPLICATIONS
11 CONCLUSION
12 REFERENCES
• ABSTRACT :-
In that Project we Represent the project of Currency Convertor and Implement the
program will then present a user menu of conversion types, converting the Currency
to Rupees, Dollar, Pound, Japanese Yen and Euro, according to the user’s selection.
The converted Currency will then be printed.
Conversion of Currency is the conversion between different Currency for the User
defined quantity, typically through multiplicative conversion factors.
An exchange rate is the rate at which one currency will be exchanged for another
currency. Currencies are most commonly national currencies, but may be sub-
national as in the case of Hong Kong or supra-national as in the case of the Euro.
The exchange rate is also regarded as the value of one country's currency in
relation to another currency.
COURSE OUTCOMES :-
1) Develop a program using object-oriented methodology in java.
2) Apply concept of inheritance for code reusablity
3) Implement Exception handling
4) Devlope program using multithreading
5) Devlope program using graphics and applet
6) Devlope programs for handling I/O and file streams
INTRODUCTION:-
Rupees
➢ The Indian currency is called the Indian Rupee (INR) and the coins are called
paise. One Rupee consists of 100 paise. The symbol of the Indian Rupee is ₹ . The
design resembles both the Devanagari letter "₹" (ra) and the Latin capital letter "R",
with a double horizontal line at the top.
➢ 1 Indian Rupee is equal to 0.013 United States Dollar
Dollar
➢ The United States dollar is the official currency of the United States and several
other countries. The Coinage Act of 1792 introduced the U.S. dollar at par with the
Spanish silver dollar, divided it into 100 cents, and authorized the minting of coins
denominated in dollars and cents.
Euro
➢ The euro (symbol: €; code: EUR) is the official currency of 19 of the 27 member
states of the European Union. This group of states is known as the eurozone.
Japanese Yen
➢ The yen (Japanese: 円, symbol: ¥; code: JPY; also abbreviated as JP¥) is the
official currency of Japan. It is the third-most traded currency in the foreign.
➢ 1 Japanese Yen is equal to 0.0078 Dollar.
LITERATURE REVIEW:-
The Rupees is an Indian Currency equal to 0.01 Cent, or 0.01 pound, 0.01 euro,
1.64Yen..A conversion factor is used to change the Currency quantity without
changing its value. The unity bracket method of Currency conversion consists of a
fraction in which the denominator is equal to the other currency but they are in
different Amounts. Because of the identity property of multiplication, the value of a
quantity will change as long as it is multiplied by the current price of currency. Also, if
the numerator and denominator of a fraction are equal to each other, then the fraction is
equal to one. So as long as the numerator and denominator of the fraction are
equivalent, they will affect the value of the quantity.
The following example demonstrates how the currency conversion method is used to
convert the rate 1 Rupees to Dollar. The symbols Rs and $ represent Rupees and Dollar
respectively. Thus, it is found that 1 Dollar is equal to 77.82 Rs.
Main Menu: -
Indian Rupees
Pound
Euro
Japanese Yen
Enter Choice :
The program will convert the Currency like Rupee , Dollar, Pound, Euro, Yen depending
on the user’s selection. Here are the specific requirements:
Write a If-else blocks, which checks if the number of currency is equal to this matched
number or not, if matched then if statement executes with giving formula , if not matched
then checks all if-else blocks and executes. If matches are converted to input currency.
Simply Converts the Dollar to Rupees using the following formula: Dollar = Amount *
77.82
Write a If-else blocks, which checks if the number of currency is equal to this matched
number or not, if matched then if statement executes with giving formula, if not matched
then checks all if-else blocks and executes. If matches are converted to input currency.
Simply Converts the Dollar to Euro using the following formula: Dollar = Amount 0.96
Write a If-else blocks, which checks if the number of currency is equal to this matched
number or not, if matched then if statement executes with giving formula, if not matched
then checks all if-else blocks and executes. If matches are converted to input currency.
Simply Converts the Dollar to Pound using the following formula: Dollar = Amount *
0.82
Write a If-else blocks, which checks if the number of currency is equal to this matched
number or not, if matched then if statement executes with giving formula if not matched
then checks all if-else blocks and executes. If matches are converted to input currency.
Simply Converts the Dollar to Rupees using the following formula: Dollar = Amount *
77.82
If Any condition is not matched then it displays another statement.
The program should quit the program After Executing.
If the user selects an invalid choice from the menu, the program should display an error
message.
PROGRAM :-
import java.util.*;
code = sc.nextInt();
if(code==1||code==2||code==3||code==4||code==5){
// Indian Rupees
if(code==1){
else if(code==2){
System.out.println("Your "+amount+" Dollar is "+amount*77.85f+" Rupees");
System.out.println("Your "+amount+" Dollar is "+amount*0.82f+" Pounds");
System.out.println("Your "+amount+" Dollar is "+amount*0.96f+" Euro");
System.out.println("Your "+amount+" Dollar is "+amount*129.12f+" Japnese
Yen");
}
// Pounds
else if(code==3){
System.out.println("Your "+amount+" Pound is "+amount*95.48f+" Rupees");
System.out.println("Your "+amount+" Pound is "+amount*1.23f+" Dollar");
System.out.println("Your "+amount+" Pound is "+amount*1.18f+" Euro");
System.out.println("Your "+amount+" Pound is "+amount*158.35f+"
JapneseYen");
}
// Euro
else if(code==4){
System.out.println("Your "+amount+" Euro is "+amount*81.12f+" Rupees");
System.out.println("Your "+amount+" Euro is "+amount*1.04f+" Dollar");
System.out.println("Your "+amount+" Euro is "+amount*0.85f+" Pounds");
System.out.println("Your "+amount+" Euro is "+amount*134.50f+"
JapneseYen");
}
// Japanese Yen
else if(code==5) {
System.out.println("Your "+amount+" Japanese is "+amount*0.60f+" Rupees");
System.out.println("Your "+amount+" Japanese is
"+amount*0.0077f+" Dollar");
System.out.println("Your "+amount+" Japanese is
"+amount*0.0063f+" Pounds");
System.out.println("Your "+amount+" Japanese is
"+amount*0.0074f+" Euro");
}
OUTPUT :-
ACTUAL RESOURCES REQUIRED:-
HDD, 256SSD
5 Command prompt -
ADVANTAGES :-
➢ System is a decimal system of weights and measures it is easy to convert between Currency
(e.g. from Dollar to Rupee, or Pound to Euro to Yen) simply by multiplying or dividing by
77.82, 0.82, 0.96, 129.2 etc.
• DISADVANTAGES :-
➢The only major disadvantage in using the metric system is that it's not well suited for working
with currency calculation. For example, 1000/77.82 Rs is approximately equivalent to 12 dollar
and 1000/1.64 Yen is approximately equal to 600 yen
APPLICATIONS:-
➢ A conversion factor is used to change the currency of a measured quantity without changing
its value. The currency conversion consists of a fraction in which the denominator is equal to the
numerator, but they are in different currencies.
➢ There are many conversion tools. They are found in the function libraries of applications such
as spreadsheets databases, in calculators, and in macro packages and plugins for many other
applications such as the mathematical, scientific and technical applications.
CONCLUSION :-
In this article, we’ll see how to make currency conversion which includes conversion between INR and
Dollar. Two text fields are implemented with the labels Rupees and Dollar.
First of all, I let you know that this is a Java Example Program of Currency Converter for beginners.
We can use so many different methods and approaches to create this kind of currency converter.It’s a
simple school project you can say. here we use only if else statements. you can use your favorite methods
or thought about this.
• REFERENCES :-
➢WWW.JAVATOINT.COM
➢WWW.WIKIPEDIA.COM
➢WWW.CURRENCYCONVERTER.COM