Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "stdafx.h"
- #include<iostream>
- using namespace std;
- int main()
- {
- int A;
- cin >> A;
- int B;
- cin >> B;
- int K;
- cin >> K;
- if (A < K < B) {
- cout << "Yes, you can eat in this cafe" << endl;
- }
- else {
- if (K > A > B) {
- cout << "No, you cant eat in this cafe" << endl;
- }
- }
- return 0;
- }
Add Comment
Please, Sign In to add comment