1. The concept of machine thinking rationally is justified by: a. Cognitive science theory b. Concept of...
Question:
1. The concept of machine thinking rationally is justified by:
a. Cognitive science theory
b. Concept of rational agent
c. Laws of thought
d. Turing test
2. The concept of machine acting humanly is justified by:
a. Cognitive science theory
b. Concept of rational
c .agent Laws of thought
c. Turing test
Q51;
In Java,
I have a program in Java that asks the user to enter 2 arguments: one integer and one letter: Y or N. How can I make sure the arguments entered are correct? For example: if the user enter a letter instead of an integer, how can I make the program recognize that a letter was entered instead of an integer and vice versa. And how can I make the program not crush and show a message asking for the user the enter the correct argument instead?