Write a program to convert the US
Dollar ($) into Philippine Peso. Assume that one US Dollar is equivalent to 50.74 Pesos. Then
display the result on the screen Using C++ language.
I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in the following email address for further details. If you want to advertise on my website kindly contact me also in my email address also. Thank you.
My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.
My mobile number here in the Philippines is 09173084360.
My telephone number at home here in Bacolod City, Negros Occidental Philippines is +63 (034) 4335675.
Here in Bacolod I also accepting computer repair, networking and Arduino Project development at a very affordable price.
Program Listing
// us_peso.cpp
// Author : Jake Rodriguez Pomperada,MAED-IT,MIT
// Date : October 9, 2020 Friday 6:25 AM
// Website : www.jakerpomperada.com / www.jakerpomperada.blogspot.com
// Email : jakerpomperada@gmail.com
// Place : Bacolod City, Negros Occidental Philippines
#include <iostream>
#include <iomanip>
const double Dollar2Peso = 50.74;
int main()
{
double amount=0.00;
std::cout << "\n\n";
std::cout << "\tUS Dollar To Philippine Peso Converter";
std::cout << "\n\n";
std::cout << "\tEnter amount in $ US Dollar : ";
std::cin >> amount;
std::cout << std::setprecision(2);
std::cout << std::fixed;
std::cout << "\n";
std::cout << "\tAmount in Philippines Peso: "
<< amount * Dollar2Peso << '\n';
std::cout << "\n";
std::cout << "\tEnd of Program";
std::cout << "\n\n";
}
No comments:
Post a Comment