Skip to content

Instantly share code, notes, and snippets.

@chikoski
Created October 16, 2014 02:42
Show Gist options
  • Select an option

  • Save chikoski/e3c3258ad235105b2470 to your computer and use it in GitHub Desktop.

Select an option

Save chikoski/e3c3258ad235105b2470 to your computer and use it in GitHub Desktop.
var nSFC = function(n){
var message = "";
var counter = 0;
while(counter < n){
message = message + "SFC ";
counter = counter + 1;
}
return message;
};
var output;
var row = 1;
var n = 10;
while(row <= n){
output= nSFC(row);
console.log(output);
row = row + 1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment