Răspuns :
Răspuns:
#include<iostream>
using namespace std;
float a,b;
int main()
{cin>>a>>b;
cout<<a-b;
return 0;
}
Răspuns:
#include <iostream>
using namespace std;
int main()
{
int x, y, subtract;
cout << "Enter two integers for subtract: ";
cin >> x >> y;
subtract = x - y;
cout << x << " - " << y << " = " << subtract;
return 0;
}
Explicație:
Simplu