Author: faltutech
Pursuing MCA from YMCA University, Faridabad
Pursuing MCA from YMCA University, Faridabad
What is a nasty number? Well it is a number whose four different factors can be arranged in such a way that sum of two is equal to difference of other two. Take an example of nasty number 36. It have factors 1,2,3,4,6,9,12,18. So, we have 2+1=6-3 . So, it Read more…
This is no longer working. You can download the unmodified PHP Script Here Many times we have videos on our private servers or a video on another website which we would like to upload to youtube. If we don’t have file on our local storage then we have to download Read more…
Images makes a webpage so much heavy that many users avoid visiting sites with lots of images. If it is really necessary to have images on your webpage then we can have some optimizations on or before page load. Like using loosy compressed images, resizing images to the exact dimensions Read more…
Follow following steps to import you current files to git and start version controlling : Signup and create a repository. Install git for windows from git-for-windows.github.io Open git bash and make configuration changes by typing below commands: git config –global user.name "your username" git config –global user.email "Your Email" Now type Read more…
You can use below javascript code to detect if adblocker is turned on [crayon-5a2bb38bd8e5d588104171/] What We are doing is : We are creating a image object (newImg) and loading an image which have name 'ad'. Which will be blocked by the adblocker. Then checking if there is any error in loading Read more…
Here we will count the number of times a word is found in a user input. We will be first counting the number of words and then adding a count bit at the end of each word and then count the occurrences of each word and display. [crayon-5a2bb38bd913e711104611/] Compiled with TurboC3 Read more…
Here we will be counting total number of words in a string. It will be somewhat lengthy than a straight solution because we have to take care of spaces at the start and at the end. [crayon-5a2bb38bd9480555597054/] Compiled by TurboC3
We will be counting the number of each character in the user input paragraph through below program : [crayon-5a2bb38bd96ef063086776/] Compiled in TurboC
If you want to rotate an circular array then there could be two approaches. For this code sample we are taking following resources : a[] – an integer array n= Number of integers in array a[] k= Times we want to rotate array. (Every time one is added to the Read more…