Difference between revisions of "If the player spells a ten or more letter word, they should receive a 200 point bonus"

From TRCCompSci - AQA Computer Science
Jump to: navigation, search
(Created page with "<syntax highlight lang = csharp> if (Word.Length > 10) { score = score + 200; } </syntax highlight>")
 
Line 1: Line 1:
<syntax highlight lang = csharp>
+
<syntaxhighlight lang = csharp>
 +
 
 
if (Word.Length > 10)
 
if (Word.Length > 10)
 
{
 
{
 
   score = score + 200;
 
   score = score + 200;
 
}
 
}
</syntax highlight>
+
</syntaxhighlight>

Revision as of 11:46, 14 November 2017

if (Word.Length > 10)
{
  score = score + 200;
}