Let''s get acquainted!




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. Click "Close" and read the Task.

Task
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

 
C++
1
#include<iostream>     
2
using namespace std;     
3
main()     
4
{     
5
	int a,b,c;     
6
	cin>>a>>b;     
7
8
	cout<<c;           
9
}     
Your last submission is saved in the editor window.
     

Results:

All results: