Question: How do I read the name on the input file and not the numbers? CS Window Help labo ICA Users kylea CLion Projects ab07) ...main.cpp

How do I read the name on the input file and not the numbers?

How do I read the name on the input file and not

CS Window Help labo ICA Users kylea CLion Projects ab07) ...main.cpp Clion - input.txt x A CMakelists.txt de main.cpp #include #include #include #include using namespace std; const double CONVERSION - 14706.07://14,706.07 Rupiahs to each US Dollar int main() string name; double dollars; ifstream infile; ofstream outfile; // Set the output to 2 decimal places with fixed point notation infile.open( silinput.txt://open the input.txt file outfile.open( s output. Ext)//open the output.txt file // Read in the name from the input file // Read in the amount of dollars from the input file // Write out the name and the number of Rupiahs the person has to the output file // Close the input and output file return ; -debug\labe7.exe

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!