Объяснение:
No or not?
Grammar > Easily confused words > No or not?
из English Grammar Today
No and not are the two most common words we use to indicate negation. We use no before a noun phrase:
There’s no address on the envelope.
[parent to child]
No biscuits before dinner!
No decisions have been made.
We use not with any other phrase or clause:
It’s not often that you stop and think about the way you breathe.
Not suitable for children under 15.
Not surprisingly, it was a tense match but eventually the more experienced Australians won.
A:
Do you go cycling all year round?
B:
Not in the winter.
#include
using namespace std;
int main (){
int a;
cout << "Введите число: " << endl;
cin >> a;
cout << pow(a,2) - 2*a << endl;
}
2. #include
#include
using namespace std;
int main (){
int a, b;
cout << "Введите два числа: " << endl;
cin >> a >> b;
cout << pow(a,2) + pow(b,2)-(a*b);
}
3. #include
#include
using namespace std;
int main (){
int a, b;
cout << "Введите два числа: " << endl;
cin >> a >> b;
cout << "Молуль первого числа: " << abs(a) << endl << "Модуль второго числа: " << abs(b) << endl;
}