Module: (C++) Let's get acquainted!


Problem

2/4

Types of tasks

Theory Click to read/hide

In the previous task, you had to completely record the program from scratch. It was the first type of task.

The second type of task is the task of editing an existing program.

The last type of tasks are ordinary test tasks, in which you just need to attach the file with the program or give a simple answer - as in the usual tests of our system.

In the process of studying theoretical material, most of the tasks will be of the second type.
Let's practice.
 

Problem

Let's try to change the program.

In the 7th line of the program c = a + b; replace the addition operation with the subtraction operation a and b