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 @@ - - + - - - Code Copy + Harsh Projects -
-

Cpp


- - function myFunction() { - console.log("Hello, World!"); - } - -
- -
+ +
+

Currency Converter

+ +

Purpose:

+

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.

+ +

Functionality and Features:

+

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:

+ +

Supported Currencies:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Currency NameSymbols Used
Indian Rupee (INR)a
United States Dollar (USD)b
Europian EUROc
Japanese YENd
Australian dollar AUDe
Bangladeshi taka BDTf
British Pound GBPg
Canadian Dollar CADh
Chinese Yuan CNYi
Pakistani Rupee PKRj
Russian Ruble RUBk
UAE Dirham AEDl
- +

Installation, Running, and Usage:

+

The project is a C++ program and can be compiled and run using a C++ compiler. Users can follow these steps:

+ +
    +
  1. Copy the code into a C++ file (e.g., currency_converter.cpp).
  2. +
  3. Use a C++ compiler (e.g., g++, Visual Studio) to compile the code.
  4. +
  5. Run the compiled executable.
  6. +
  7. Follow the on-screen instructions to enter currency names and values for conversion.
  8. +
+ +

Dependencies, Limitations, and Assumptions:

+

+ 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

+
+    // Your C++ code goes here
+    #include
+    
+    int main() {
+      std::cout << "Hello, World!" << std::endl;
+      return 0;
+    }
+  
+
+