One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| Number.prototype.map = function (in_min, in_max, out_min, out_max) { | |
| return (this - in_min) * (out_max - out_min) / (in_max - in_min) + out_min; | |
| } |
| /* The code allows rotation of an 1D array (right and left) | |
| using XOR operator | |
| ie. Shifts elements of an Array to left or right directions, | |
| wraps the elements circularly. | |
| */ | |
| #include <stdio.h> | |
| int arr[]={1,2,3,4,5,6,7,8,9,10}; |