Chupo
Chupo

Reputation: 3

Raptor flowchart command

Can someone show me how to convert C# command .StartsWith();on RAPTOR flowchart command?

string unos = Console.ReadLine().ToUpper();
if (unos.StartsWith("KR"))
     kr++;
else if (unos.StartsWith("ZG"))
     zg++;`

Here is a sample.

Upvotes: 0

Views: 978

Answers (1)

Blake Smith
Blake Smith

Reputation: 7

its one of the limiting things about raptor, that in order to compare letters you need to convert it to an ASCII value then make you comparison using the (to_ascii) function.

hope this helps G/L

Upvotes: 0

Related Questions