0% found this document useful (0 votes)
22 views

Programming Lesson by Slidesgo

Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views

Programming Lesson by Slidesgo

Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 10

Currency Converter

Program in C++
Presented by:
Sadain Sikandar [BIT-23S-091]
Muhammad Asim [BIT-23S-069]
Introduction

Welcome to our presentation on the Currency Converter Program in C++. In this


project, we developed a simple program to convert between different currencies.
The purpose of this program is to provide a user-friendly tool for quick currency
conversions.
Features of the Currency Converter

Our currency converter program includes the following features:

• Conversion between four major currencies: PKR, USD, INR, and GBP.
• A straightforward and user-friendly interface.
• Efficient and accurate currency calculations.
Program Structure

The program is structured into several components:

• The main function, which handles user input and controls the flow of the
program.
• Separate conversion functions for each currency (PKR, USD, INR, GBP).
• A switch-case statement to execute the appropriate conversion based on user
choice.
Currencies Included:

Our currency converter program supports conversions between the following


major currencies:

• PKR (Pakistani Rupee)


• USD (United States Dollar)
• INR (Indian Rupee)
• GBP (British Pound Sterling)
CODE
Conversion Functions

convertFromPKR(): Converts PKR to USD, INR, and GBP.

convertFromUSD(): Converts USD to PKR, INR, and GBP.

convertFromINR(): Converts INR to PKR, USD, and GBP.

convertFromGBP(): Converts GBP to PKR, USD, and INR.


Advantages of this Currency Converter Program:

• User-Friendly: Clear menu interface for easy currency selection.


• Efficient: Separate functions ensure fast and accurate conversions.
• Versatile: Supports conversions between PKR, USD, INR, and GBP.
• Error Handling: Provides feedback for invalid inputs, enhancing user
experience.
Conclusion

In conclusion, our currency converter program offers a simple yet effective way
to convert between different currencies. This tool is useful for quick and accurate
currency conversion. In the future, we can expand the program to include more
currencies.
Thank You!

You might also like