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

Conteúdo do Curso

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

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

Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 1. Capítulo 9
We're sorry to hear that something went wrong. What happened?
some-alt