Best writers. Best papers. Let professionals take care of your academic papers

Order a similar paper and get 15% discount on your first order with us
Use the following coupon "FIRST15"
ORDER NOW

the ethics of artificial intelligence 2

read the description of the Eliza program at the bottom of this question. Is it ethical to make people think they are talking to another person when they are not? Does it make a difference if they find the program to be helpful? Would you mind if a Help facility for some software you were using was a machine instead of a person? Have you ever been embarrassed when you thought you were talking to a person but later found out you were not? (For example, have you ever started to respond on the phone only to realize you were listening to an answering machine?)

<code>import javax.swing.*;<br>public class Eliza<br>{<br> public static void main(String[] args)<br> {<br> String user;<br> String msg = "";<br> String msg1 = "Tell me more about your ";<br> String msg2 = "You seem to have strong feelings about that";<br> String msg3 = "Please go on";<br> String msg4 = "Tell me more";<br> String msg5 = "Continue";<br> int random;<br> int length;<br> int x, y;<br> int stopWord;<br> final String END = "Goodbye";<br> boolean foundMy = false, foundLove = false, foundHate = false;<br> user = JOptionPane.showInputDialog(null,<br> "Hello. I am Eliza, your tharapist. Tell me what" +<br> "nis troubling you. Any time you want to quit," +<br> "njust type "Goodbye"""");<br> while(!user.equalsIgnoreCase(END))<br> {<br> user = user.toLowerCase();<br> length = user.length();<br> foundMy = false;<br> for(x = 0; x < length - 3; ++x) // If ""my"" is at end of sentence

Need assignment help for this question?

If you need assistance with writing your essay, we are ready to help you!

OUR PROCESS

Order

Payment

Writing

Delivery

Why Choose Us: Cost-efficiency, Plagiarism free, Money Back Guarantee, On-time Delivery, Total Сonfidentiality, 24/7 Support, 100% originality

 
"Looking for a Similar Assignment? Order now and Get 10% Discount! Use Code "Newclient"