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

Course Content

Introduction to .NET with C#

Introduction to .NET with C#

1. Introduction
2. Asynchronous Programming and Introduction to Web Services
3. Introduction to Databases with .NET
4. CRUD Operations with MySQL
5. Optimizing Database Operations

bookTask - 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.

Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 1. Chapter 9
some-alt