How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask ATLPROG Your Own Question

ATLPROG
ATLPROG, Computer Software Engineer
Category: Programming
Satisfied Customers: 7677
Experience:  MS in IT.Several years of programming experience in Java C++ C C# Python VB Javascript HTML
44910485
Type Your Programming Question Here...
ATLPROG is online now
A new question is answered every 9 seconds

I have a question of how to get a raptor program to accept a

Customer Question

I have a question of how to get a raptor program to accept a yes or no input from a user and then evaluate whether the answer is yes or no and then move to the next piece of the program. I keep getting a "Cannot compare these values STRING_KIND NUMBER_KIND
JA: What programs and versions are you using?
Customer: Raptor.ink not sure what version. How can we tell what version?
JA: What is your ideal outcome? How can we solve this for you?
Customer: My program is asking the user for string input. "Do you want to keep playing? Please enter yes or no." Then it grabs the answer with GET keepgoing Next, I want to evaluate with a selection statement whether the answer is yes or no and then move on to the next piece of my program. But I can't get it to evaluate the string as yes or no. Just keeps giving me the Cannot Compare error
JA: Anything else you want the programmer to know before I connect you?
Customer: I don't think so
Submitted: 2 months ago.
Category: Programming
Expert:  Kevin T replied 2 months ago.

How's it going.
Let me read of your question. Give me a minute.

Expert:  Kevin T replied 2 months ago.

Rap Rap Rap

Customer: replied 2 months ago.
Are you waiting on me or am I waiting on you?
Expert:  Kevin T replied 2 months ago.

Have you tried rebooting the computer?

Customer: replied 2 months ago.
What does that have to do with a programming error in Raptor?
Expert:  Kevin T replied 2 months ago.

Refreshing you system will clear many types of errors. Its amazing what It can do!

Customer: replied 2 months ago.
Are you a hardware engineer or a programmer?
Customer: replied 2 months ago.
Are you still there??
Customer: replied 2 months ago.
OK, I'm not hearing anything from you. We need to stop this chat and make sure you don't charge me for anything!!

Related Programming Questions