974 views

1 Answer

1 votes
1 votes
IF it is below Freezing THEN not snowing ELSE it is snowing..

If it is below Freezing then not snowing OR If it is NOT below Freezing then it is snowing..

= (P ----> Q') ^ ( P' ----> Q) // something like IF 'X' THEN 'Y' ELSE 'Z'

= (P' + Q')  ^ (P + Q)

= PQ' + P'Q

= P ◎ Q.                         // P Ex - OR Q

It is either Freezing or Snowing but not both..

Related questions

0 votes
0 votes
2 answers
3
Mak Indus asked Nov 10, 2018
291 views
Given an array of distinct integers A[1, 2,…n]. Find the tightest upper bound to check the existence of any index i for which A[i]= i.(a) O (1) ...
0 votes
0 votes
3 answers
4
radha gogia asked Jul 17, 2015
989 views
If we talk about that since since we cant access any random element in a linked list for that reason quick sort cant be used for linked lists ,then in merge sort also we ...