Skip to content

Here I have created Number Patterns using JavaScript. The Pattern.js File 's Pattern was created using a Method calling and inside the method i have used only the for loop to create the number pattern while in the sequence.js file code creates the pattern using the "User Input" it chooses the middle number and arranges the sequence accordingly

Notifications You must be signed in to change notification settings

ShaliniWanasinghe/Number-Patterns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

IT2234

Practical One

Creating Number Patterns using JavaScript



This practical code shows two methods of creating Number Patterns using JavaScript

  • Pattern.js- Uses method calling and a for loop to generate a number pattern.
  • Sequence.js- Takes user input, selects the middle number, and arranges the sequence accordingly.

Example Outputs

About

Here I have created Number Patterns using JavaScript. The Pattern.js File 's Pattern was created using a Method calling and inside the method i have used only the for loop to create the number pattern while in the sequence.js file code creates the pattern using the "User Input" it chooses the middle number and arranges the sequence accordingly

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published