Posts

Showing posts from October, 2020

Websites To Find Free Images for commercial and non commercial use.

Image
Given below are some of the websites where you can find free images for use of marketing or graphic designing work. This websites provide free images in which they doesn't want attribution and one can use the content for modification and other commercial and non-commercial use but one cannot have sold the unaltered copies of images. Before using any of following website please the license condition of the respective website. 1. Unsplash: You can get over 2 million free high-resolution images brought to you by the world's most generous community of photographers. According to license of Unsplash one can use photos for commercial and non-commercial use. One can contribute to the growing stock of photos on unsplash. url -  https://unsplash.com/  2. Pexels On the pexels you can large stock of free high-resolution images along with that you can also find videos which are free to use. Also on pexels one can be a contributor by uploading photos. Here you can find information about li

3 Basic Ways To Improve Brain Health

Image
The three basic ways to improve Brain Health are 👇   1. Meditation : Meditation helps one to increase awareness about yourself and about your surrounding. Meditation is also useful to increase concentration power. It also helps to relieve stress. It may reduce age-related memory loss and may help to get out from the non-wanted addictions. Meditation can help one to develop a positive mood, self-discipline, and healthy sleep patterns.  You can give any time limit according to your convenience.   If you are just starting out, I recommend you  meditate  for anywhere from 5 to 10 minutes every day . 2. Running : It is documented that while running the brain releases a chemical that helps to elevate mood, happiness, and outlook. Running strengthens the muscles and helps to build strong bones. Running can assist people in losing weight, staying in shape, and improving body composition. Running can help some people to feel high and can improve their outlook. Studies say that running for j us

C Program To Reverse A Number

  C PROGRAM TO REVERSE A NUMBER # include <stdio.h> int main () {        int n, rev = 0 , remainder;        printf ( "Enter an integer: " );        while ( n != 0 ) {           remainder = n % 10 ;           rev = rev * 10 + remainder;           n /= 10 ;      } printf ( "Reversed number is: %d", rev ); return 0 ; } Output Enter an integer: 9929 Reversed number is: 9299 _____________ _________________________________ How the program works? The program takes input from the scanf() function. Then while() loop is used until n != 0 becomes false. In each iteration of the while loop, the remainder when n is divided by 10 is calculated and the value of n is reduced by 10 times. In the loop, the integer is reversed using- rev = rev * 10 + remainder; Then printf() function, at last, returns the reversed integer.

BEST PLATFORMS TO DEVELOP CODING SKILLS.

Image
      To get better and better at coding skills one should deal with different type of problem statement. Practicing with problem statements give a kind of idea about how one can use the coding skills in real life to deal with tasks like calculation, strings conversion etc. H ere are top 3 coding platforms according to me to develop your coding skills:     1.  HackerRank HackerRank is a tech company that focuses on competitive programming challenges for both consumers and businesses, where developers compete by trying to program according to provided specifications. HackerRank's programming challenges can be solved in a variety of programming languages (including Java, C++, PHP, Python, SQL, JavaScript) and span multiple computer science domains. Over 11million developers practice coding skills on this platform.      2.   Codechef CodeChef is a competitive programming community of programmers from across the globe. CodeChef was started as an educational initiative in the yea

Add two numbers solution in C language.- Codechef

ADD TWO NUMBERS Problem Code:  FLOW001 Shivam is the youngest programmer in the world, he is just 12 years old. Shivam is learning programming and today he is writing his first program. Program is very simple, Given two integers A and B, write a program to add these two numbers. Input The first line contains an integer  T , the total number of test cases. Then follow  T  lines, each line contains two Integers  A  and  B . Output For each test case, add  A  and  B  and display it in a new line. Constraints 1  ≤   T   ≤  1000 0  ≤   A,B   ≤  10000 Example Input 3 1 2 100 200 10 40 Output 3 300 50 . . . Solution in C. # include <stdio.h> int main () { int T; scanf ( "%d" , &T); while (T--) {           int a, b; scanf ( "%d %d" , &a, &b);           int ans = a + b; printf ( "%d\n" , ans);     } return 0 ; } Explanation:- First take the input T (total number of test cases). Use while loop (until T&g

Study of Operators in C.

C-Operators  The symbols which are used to perform logical and mathematical operations are called C-operators. These C operators join individual constants and variables to form expressions. Operators, functions, constants, and variables are combined together to form expressions. Example: A + B * 5 Where, +, *  -  operators A, B  -  variables 5  -  constant A + B * 5  -  expression . . . - Types - Arithmetic Operators : These operators are used to perform mathematical calculations like addition,  subtraction, multiplication, division, and modulus . Sr. No     |     Operator     |     Operation     1                               +                       Addition     2                              -                       Subtraction          3                              *                        Multiplication                             4                              /                        Division     5                              %                     Modulus . . .   Assignment Ope