Question: Question 3 Using if..else and logical operators, print the truth table for. AND P True True Output True False True False False True False False



Question 3 Using if..else and logical operators, print the truth table for. AND P True True Output True False True False False True False False False False OR P True True Output True True True False False True True False False False XOR P Q Output True True False True False True False False True False True False What's a Truth Table? https://en.wikipedia.org/wiki/Truth table Question 4 A Nobel Prize Candidate must meet two criteria: A person who does (1) significant work for the society. and (2) makes breakthrough in his or her work Part (A) dos Significant Work mark Yes Yes No No Yes NO Write a program to ask two simple questions above and determine whether the person is eligible as a Nobel Prize Candidate Part() Now, the Norwegian Nobel Committee has decided to include a third criteria. The candidate must be nominated by at least one Nobel Laureate past Nobel Prize winners Modify your program in part(a) to include this third criteria Question 5 Write a C program to scan an alphabet as a character input and determine whether it is a capital or small letter. Your program should also print the alphabet character entered with its associated ASCII value. Complete your program with the code snippet below Tips: The ASCII values for alphabets A-Z are 65 to 90 and 2 ane 97 to 122. Reference: http://www.ascii-code.com/ #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
