Difference between revisions of "Star"

From CodeStuff
Jump to: navigation, search
(Created page with "<edcode> var bob="hi there"; print (bob); function star(Q) { return "*"+Q+"*"; } </edcode>")
 
 
Line 2: Line 2:
 
var bob="hi there";
 
var bob="hi there";
  
print (bob);
+
print (star(bob));
  
 
function star(Q) {
 
function star(Q) {
 
   return "*"+Q+"*";
 
   return "*"+Q+"*";
 
}
 
}
 
 
</edcode>
 
</edcode>

Latest revision as of 02:39, 23 August 2012