Question: please write in Java Your program will prompt the user to enter two truth values, x and y. You can assume the user will enter

please write in Java

please write in Java Your program will prompt the user to enter

Your program will prompt the user to enter two truth values, x and y. You can assume the user will enter Tor F. Then your program will display the following and will end. -X (You can use the character) (You can use the v character) x^y X (You can use the -- > characters) Run your program 4 times, with the following user input TT TF F, T F, F How to submit You should submit 5 screenshots. The 1st screenshot should contain your source code, with a system message such as "O build errors". Screenshot 2 should each contain the execution of the test case: T, T Screenshot 3 should each contain the execution of the test case: T, F Screenshot 4 should each contain the execution of the test case: F,T Screenshot 5 should each contain the execution of the test case: F, F A sample execution: Enter the 1st truth value: T Enter the 2nd truth value: T -T = F TVT = T TAT = T T T=T A sample execution: Enter the 1st truth value: T Enter the 2nd truth value: F T = F TV F=T TAF = F T F= F

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!