From 4eacdc0b4d37bfe2c17fec30cc26216e8e102573 Mon Sep 17 00:00:00 2001 From: Harsh <152859342+HarshNA044@users.noreply.github.com> Date: Mon, 22 Jan 2024 08:06:16 +0530 Subject: [PATCH] Update index.html --- index.html | 204 ++++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 156 insertions(+), 48 deletions(-) diff --git a/index.html b/index.html index a96541f..4967373 100644 --- a/index.html +++ b/index.html @@ -1,62 +1,170 @@ - - +
- - -- -Cpp
-- function myFunction() { - console.log("Hello, World!"); - } -
-
The purpose of this project is to create a currency converter that can convert the value of one currency into another based on the current market rates. This project is useful for travelers, businesses, and forex traders who need to exchange currencies or track the changes in exchange rate valuations. This project also demonstrates the concept of object-oriented programming in C++, which is a powerful and widely used programming paradigm that allows for the creation of modular, reusable, and maintainable code.
+ +The project defines a C++ class named currencycal
with methods to perform currency conversion. It uses a switch-case structure to handle various currency conversions. The main function takes user input for the currencies and values, performs the conversion using the class methods, and displays the result. The program continues to prompt the user for more conversions until they choose to exit.
The project supports the following currencies and their symbols:
Currency Name | +Symbols Used | +
---|---|
Indian Rupee (INR) | +a | +
United States Dollar (USD) | +b | +
Europian EURO | +c | +
Japanese YEN | +d | +
Australian dollar AUD | +e | +
Bangladeshi taka BDT | +f | +
British Pound GBP | +g | +
Canadian Dollar CAD | +h | +
Chinese Yuan CNY | +i | +
Pakistani Rupee PKR | +j | +
Russian Ruble RUB | +k | +
UAE Dirham AED | +l | +
The project is a C++ program and can be compiled and run using a C++ compiler. Users can follow these steps:
+ +currency_converter.cpp
).g++
, Visual Studio) to compile the code.+ Dependencies: The project does not have external dependencies and is standalone. +
++ Limitations: The currency conversion rates are hardcoded within the program and may not reflect real-time rates. +
++ Assumptions: The user inputs the currency names using specific symbols ('a' to 'l') as mentioned in the pre-instructions. +
+ // Your C++ code goes here + #include++ + int main() { + std::cout << "Hello, World!" << std::endl; + return 0; + } +