Skip to content

Instantly share code, notes, and snippets.

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

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

Select an option

Save chikoski/1565352411351d25d68d 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 counter = 0;
var number = 1;
while(counter < 5){
output= nSFC(number);
console.log(output);
number = number + 1;
counter = counter + 1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment