diff options
1 files changed, 16 insertions, 0 deletions
| -rw-r--r-- | pract_SI/Pract. 01/Solutions/task3.cpp | 16 |
diff --git a/pract_SI/Pract. 01/Solutions/task3.cpp b/pract_SI/Pract. 01/Solutions/task3.cpp new file mode 100644 index 0000000..830348b --- /dev/null +++ b/pract_SI/Pract. 01/Solutions/task3.cpp @@ -0,0 +1,16 @@ +#include<iostream> +using namespace std; +int main() +{ + double a, b; + + cout << "First number: "; + cin >> a; + + cout << "Second number: "; + cin >> b; + + cout << boolalpha << (a < b) << endl; + + return 0; +}
\ No newline at end of file |
