Question

In: Computer Science

IN C++ LANGUAGE PLEASE::: I’m buyin’ a Ferrari!  If you’ve ever travelled to another country, you know...

IN C++ LANGUAGE PLEASE:::

I’m buyin’ a Ferrari!  If you’ve ever travelled to another country, you know that working with different currencies takes a while to get used to.  As of the date of making this assignment, there are 9,240.00 Guinean Francs to $1 USD.  For this program, design (pseudocode) and implement (source code) aprogram that prompts the user for the amount of U.S. currency they have, and converts it into Ginean Francs.

Solutions

Expert Solution

PSEUDOCODE:

This program is used to convert the amount given in us dollars to Guinean Francs.

Declare a double variable guinean_franc for Guinean Francs

Declare a double variable us_dollar for usa dollars

print prompt "Enter the amount of US dollars: "

Get the input for the us_dollar from the user and store it in us_dollar

calculate the Guinean Francs by us_dollar * 9240 and assign the result to guinean_franc

print the guinean_franc

C++ CODE:

#include <iostream>

using namespace std;


int main()
{
   //varible to store guinean_franc and us dollars
    double guinea_franc;
    double us_dollar;
  

   //getting the us dollar input from the user
    cout<<"Enter the amount of US dollars: ";
    cin>>us_dollar;
  
    //calculating the guinean_franc
    guinea_franc=us_dollar * 9240.0;
  
    //printing the guinean franc for the given us dollars  
    cout<<"Guinea Franc = "<<guinea_franc;
  
    return 0;
}

SCREENSHOT FOR OUTPUT:


Related Solutions

Please do in C#.Program 1: I’m buyin’ a Ferrari! If you’ve ever travelled to another country,...
Please do in C#.Program 1: I’m buyin’ a Ferrari! If you’ve ever travelled to another country, you know that working with different currencies takes a while to get used to. As of the date of making this assignment, there are 9,240.00 Guinean Francs to $1 USD. For this program, design (pseudocode) and implement (source code) a program that prompts the user for the amount of U.S. currency they have, and converts it into Ginean Francs. Document your code and properly...
IN C++ LANGUAGE PLEASE:::: Is there a Prius version? Did you know that the average Boeing...
IN C++ LANGUAGE PLEASE:::: Is there a Prius version? Did you know that the average Boeing 747 airplane uses approximately 1 gallon of fuel per second?  Given the speed of the airplane, that means it gets 5 gallons to the mile. No, not 5 miles to the gallon, 5 gallons to the mile.   You may be questioning why such a horribly inefficient machine is allowed to exist, but you’ll be happy to find out that, because this airplane hold 568 people, it...
Supply Chain Value Have you ever heard someone say (or maybe you’ve said it) that if...
Supply Chain Value Have you ever heard someone say (or maybe you’ve said it) that if you could just cut out the “middleman” the product would be so much cheaper? When is this true for the consumer? When is this not true for the consumer? How does a supply chain provide value for the consumer? Thinking about a product that you recently have purchased: What is the product? What "route" did it take through the supply chain - in other...
on C++ language please and if you can also put note on it to better undertand...
on C++ language please and if you can also put note on it to better undertand it. Write a program that reads data from a data file, the value of which is provided at the end of the problem. Your program is to incorporate the following requirements: Data to the program is input from a file of an unspecified length; that is, the program does not know in advance how many numbers are in the file. Save the output of...
Imagine that you’ve cloned something that you think is a cadherin, but you know very little...
Imagine that you’ve cloned something that you think is a cadherin, but you know very little about it (and hopefully nobody knows anything about it, otherwise it wouldn’t be “research”). You think it is attached to the cytoskeleton, hypothetically through its cytoplasmic tail. Your goal is to identify the part(s) of the cytoplasmic tail that is/are responsible for binding. Luckily, if you’ve cloned a gene, it is easy to make sub-clones that have specific portions of the polypeptide strand deleted....
Take the current country you are living in and compare with another country of your choice...
Take the current country you are living in and compare with another country of your choice and compare the following aspects: Poverty Income Inequality Furthermore, explain how globalization has either helped increase or decrease the poverty and inequality in each country.
Please use C language to code all of the problems below. Please submit a .c file...
Please use C language to code all of the problems below. Please submit a .c file for each of the solutions, that includes the required functions, tests you wrote to check your code and a main function to run the code. Q2. Implement the quick-sort algorithm.
PLEASE DO THIS IN C#.Is there a Prius version? Did you know that the average Boeing...
PLEASE DO THIS IN C#.Is there a Prius version? Did you know that the average Boeing 747 airplane uses approximately 1 gallon of fuel per second? Given the speed of the airplane, that means it gets 5 gallons to the mile. No, not 5 miles to the gallon, 5 gallons to the mile. You may be questioning why such a horribly inefficient machine is allowed to exist, but you’ll be happy to find out that, because this airplane hold 568...
As we know, GDP for country can be determined by GDP = C + I +...
As we know, GDP for country can be determined by GDP = C + I + G + NetExports.
this is data structures with C++ language, please do "#1 & a" separately and please send...
this is data structures with C++ language, please do "#1 & a" separately and please send me copyable file 1. Write a program that allows the user to enter the last names of the candidates in a local election and the votes received by each candidate. The program should then output each candidate's name, votes received by that candidate, and the percentage of the total votes received by the candidate. Assume a user enters a candidate's name only once and...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT