CARVIEW |
Select Language
HTTP/2 200
date: Sun, 12 Oct 2025 04:37:12 GMT
content-type: text/html; charset=UTF-8
server: cloudflare
x-frame-options: DENY
x-content-type-options: nosniff
x-xss-protection: 1;mode=block
vary: accept-encoding
cf-cache-status: DYNAMIC
content-encoding: gzip
set-cookie: _csrf-frontend=74333094f60538588c237c3979813890a3031f606a013e349c43a0c2f13581b3a%3A2%3A%7Bi%3A0%3Bs%3A14%3A%22_csrf-frontend%22%3Bi%3A1%3Bs%3A32%3A%228sbhp-PgqLcoYglJSvH_hhOvy9RVZT4F%22%3B%7D; HttpOnly; Path=/
cf-ray: 98d3e68d6e9dc172-BLR
#include <iostream>using namespace std;int main() { double Size1, Si - Pastebin.com
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main() {
- double Size1, Size2, Size3;
- bool IsNotCorrect;
- cout << "The program determines whether the triangle is versatile" << endl;
- do {
- IsNotCorrect = false;
- cout << "Enter Size1 : ";
- cin >> Size1;
- if (cin.fail()) {
- IsNotCorrect = true;
- cout << "Error" << endl;
- cin.clear();
- while (cin.get() != '\n');
- }
- } while (IsNotCorrect);
- do {
- IsNotCorrect = false;
- cout << "Enter Size2 : ";
- cin >> Size2;
- if (cin.fail()) {
- IsNotCorrect = true;
- cout << "Error" << endl;
- cin.clear();
- while (cin.get() != '\n');
- }
- } while (IsNotCorrect);
- do {
- IsNotCorrect = false;
- cout << "Enter Size3 : ";
- cin >> Size3;
- if (cin.fail()) {
- IsNotCorrect = true;
- cout << "Error" << endl;
- cin.clear();
- while (cin.get() != '\n');
- }
- } while (IsNotCorrect);
- if (Size1 + Size2 > Size3 && Size1 + Size3 > Size2 && Size2 + Size3 > Size1) {
- if (Size1 != Size2 && Size2 != Size3 && Size1 != Size3) {
- cout <<"The triangle is versatile" << endl;
- }
- else {
- cout << "The triangle is not versatile" << endl;
- }
- }
- else {
- cout << "There is no triangle with specified sides" << endl;
- }
- return 0;
- }
Tags:
Laba1_1
Advertisement
Add Comment
Please, Sign In to add comment
-
β
β Make huge profits on trading ββ S
JavaScript | 4 sec ago | 0.25 KB
-
π EASY MONEY GUIDE β
Working
JavaScript | 10 sec ago | 0.24 KB
-
ββ
Marketplace Glitch β
Working β
NEVER SEEN...
JavaScript | 16 sec ago | 0.25 KB
-
π Exchange profit method
JavaScript | 20 sec ago | 0.24 KB
-
ββ
Exploit 2500$ in 15 Minutesβββ G
JavaScript | 25 sec ago | 0.25 KB
-
π Swapzone +37% glitch β T
JavaScript | 30 sec ago | 0.25 KB
-
π Swapzone +37% glitch
JavaScript | 30 sec ago | 0.24 KB
-
Free Crypto Method (NEVER SEEN BEFORE)ββ X
JavaScript | 34 sec ago | 0.25 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand