Question: write a fortune program that reads two numbers from a file (input.txt) and writes the sum of those numbers into another file (output .txt ).

write a fortune program that reads two numbers from a file (input.txt) and writes the sum of those numbers into another file (output .txt ). the output should be in fixed point notation with 2 decimal places

input: 27.7381 56.148

your program

output.txt 77.89

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!