aboutsummaryrefslogtreecommitdiff
path: root/codechef/chefAndStockPrices.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'codechef/chefAndStockPrices.cpp')
-rw-r--r--codechef/chefAndStockPrices.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/codechef/chefAndStockPrices.cpp b/codechef/chefAndStockPrices.cpp
deleted file mode 100644
index 0954812..0000000
--- a/codechef/chefAndStockPrices.cpp
+++ /dev/null
@@ -1,16 +0,0 @@
-#include <bits/stdc++.h>
-
-using namespace std;
-
-int main() {
- ios_base::sync_with_stdio(false);
- cin.tie(NULL);
- int tt;
- cin >> tt;
- while (tt--) {
- int s, a, b, c;
- cin >> s >> a >> b >> c;
- float price = s + (c * s) / 100.0;
- cout << ((price >= a && price <= b) ? "Yes" : "No") << '\n';
- }
-}