Untitled

Run Settings
LanguageC++
Language Version
Run Command
#include <iostream> #include "cmath" using namespace std; int main() {//(задание 3; пример 2) int a; int b; int c; int d; int z; cout << "z = a/c * b/d - a*b-c/c*d" << endl; cout << "Enter a,b,c,d \n" << endl; cin >> a; cin >> b; cin >> c; cin >> d; if(c==0 or d==0){ cout << "Ошибка" << endl; } z = a*b - a*b*c*d - c/c*d; cout << z << endl; return 0; }
Editor Settings
Theme
Key bindings
Full width
Lines