Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
int a, b, c; Console.Write("a = "); a = Convert.ToInt16(Console.ReadLine()); while (a > 1 || a < 0) { Console.WriteLine("a принимает значение в виде 0 или 1"); Console.Write("a = "); a = Convert.ToInt16(Console.ReadLine()); } Console.WriteLine("1. →"); Console.WriteLine("2. ∧"); c = Convert.ToInt16(Console.ReadLine()); while (c > 1 || c < 0) { Console.WriteLine("Не существует такого действия." + "\r\n" + "Повторите попытку:"); c = Convert.ToInt16(Console.ReadLine()); } Console.Write("b = "); b = Convert.ToInt16(Console.ReadLine()); while (b > 1 || b < 0) { Console.WriteLine("b принимает значение в виде 0 или 1"); Console.Write("b = "); b = Convert.ToInt16(Console.ReadLine()); } if (a == 0 && b == 0) { if (c == 1) Console.WriteLine("Ответ. 1"); if (c == 2) Console.WriteLine("Ответ. 0"); } if (a == 0 && b == 1) { if (c == 1) Console.WriteLine("Ответ. 1"); if (c == 2) Console.WriteLine("Ответ. 0"); } if (a == 1 && b == 0) Console.WriteLine("Ответ. 0"); if (a == 1 && b == 1) Console.WriteLine("Ответ. 1");
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)