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
Get step-by-step solutions from verified subject matter experts
