C++ Given the following variables: float dollars, pounds; CONV_CONST = 0.64 write the code that will convert US Dollars $  to English Pounds £ (assume that 1 Dollar = .64 Pounds).  Input the dollars from the keyboard and print the calculated results with 2 decimal places.

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter3: Assignment, Formatting, And Interactive Input
Section3.3: Using Mathematical Library Functions
Problem 9E
icon
Related questions
Question

C++

Given the following variables:

float dollars, pounds;

CONV_CONST = 0.64

write the code that will convert US Dollars $  to English Pounds £ (assume that 1 Dollar = .64 Pounds).  Input the dollars from the keyboard and print the calculated results with 2 decimal places. 

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr