Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Task - File Based Calculator | Introduction
Introduction to .NET with C#
course content

Зміст курсу

Introduction to .NET with C#

Task - File Based Calculator

You can download the required folder for this task. The folder includes two files called 1.txt and 2.txt.

After the user specifies an operation, the program should read the numbers from 1.txt and 2.txt and apply the operation on each corresponding number from the 1.txt and 2.txt files. The results should be stored in the corresponding lines of a new file called result.txt.

For example, if the user enters the operator +, the numbers in the first lines of 1.txt and 2.txt will be added (925 + 789 = 1714), and the result will be stored in the first line of a new file called result.txt. The same should happen for the remaining lines.

Все було зрозуміло?

Секція 1. Розділ 9
We're sorry to hear that something went wrong. What happened?
some-alt