Month: April 2017

22
Apr
2017

Mission laravel: Installation

laravel installation: composer create-project –prefer-dist laravel/laravel yourproject name 5.4.19 example for me: composer create-project –prefer-dist laravel/laravel cms…

22
Apr
2017

PHP OOP Project

Basic Simple Project By Me: <?php class Employee { var $first; var $last; var $stat; var $uid;…

21
Apr
2017

Count number of 2’s in a given range (0 to n)? (ex: range between 0-20, Ans: 3 (i.e [2], 1[2], [2]0))

Google Search: https://www.google.com/search?q=Counting+2s&ie=utf-8&oe=utf-8&client=firefox-b#q=Counting+2s+in+c SOlution: https://www.careercup.com/question?id=56794 //https://www.careercup.com/question?id=56794 #include<stdio.h> int main() { int n,i,j; int ctr=0; scanf(“%d”,&n); for(i=0;i<=n;i++) { for(j=i;j>0;j=j/10) {…

21
Apr
2017

PHP Regex

Regex Tutorial: Best Site To Learn Tutorial https://regexone.com/lesson/optional_characters (Will start from this page other pages completed before)…

21
Apr
2017

Mission Design Patterns

20
Apr
2017

Frequency of Digit in A Number

code: //program to cound frequency of digits in a number #include<stdio.h> #define BASE 10 int main() {…