Вячеслав9 лет назад
1) Uses crt; Var a,b,c:Real; Begin Writeln ('Vvedite a');Readln (a); Writeln ('Vvedite b');Readln (b); Writeln ('vvedite c');Readln (c); If (a=b) and (b=c) then Writeln ('Treugolnic ravnostoronnii') else If (a=b) or (b=c) then writeln ('Ravnobedrennii') Else writeln ('raznostoronnii'); ENd.
2)
#include #include using namespace std; void main() { setlocale(LC_ALL,"rus"); srand(time(NULL)); int a=0; int b=0; int c, d, e; a=rand()%10; b=rand()%10; cout<>e; if (c==e) { cout<<"Верно"<<"\n"; } else { cout<<"Не Верно"<<"\n"; } }