Chandu yadav has Published 1163 Articles

Usage of CSS grid-column-gap property

Chandu yadav

Chandu yadav

Updated on 24-Jun-2020 11:16:27

99 Views

Set gap between Grid columns with CSS. You can try to run the following code to implement the grid-column-gap property.ExampleLive Demo                    .container {             display: grid;             background-color: green;             grid-template-columns: auto auto;             padding: 20px;             grid-column-gap: 20px;          }         .ele {            background-color: orange;            border: 2px solid gray;            padding: 35px;            font-size: 30px;            text-align: center;         }                     Game Board                1          2          3          4          5          6          

sinh() function in C++ STL

Chandu yadav

Chandu yadav

Updated on 24-Jun-2020 10:57:45

88 Views

The sinh() function returns the hyperbolic sine of an angle given in radians. It is an inbuilt function in C++ STL.The syntax of the sinh() function is given as follows.sinh(var)As can be seen from the syntax, the function sinh() accepts a parameter var of data type float, double or long ... Read More

acosh() function in C++ STL

Chandu yadav

Chandu yadav

Updated on 24-Jun-2020 10:53:32

95 Views

The acosh() function returns the arc hyperbolic cosine or the inverse hyperbolic cosine of an angle given in radians. It is an inbuilt function in C++ STL.The syntax of the acosh() function is given as follows.acosh(var)As can be seen from the syntax, the function acosh() accepts a parameter var of ... Read More

strchr() Function in C++

Chandu yadav

Chandu yadav

Updated on 24-Jun-2020 10:49:57

323 Views

In C++, strchr() is a predefined function. It is used for string handling and it returns the first occurance of a given character in the string provided.The syntax of strchr() is given as follows.char *strchr( const char *str, int c)In the above syntax, str is the string that contains the ... Read More

C++ Program to Calculate Standard Deviation

Chandu yadav

Chandu yadav

Updated on 24-Jun-2020 09:56:27

7K+ Views

Standard deviation is the measure of how spread out the numbers in the data are. It is the square root of variance, where variance is the average of squared differences from the mean.A program to calculate the standard deviation is given as follows.Example Live Demo#include #include using namespace std; ... Read More

C++ Program to Compute Determinant of a Matrix

Chandu yadav

Chandu yadav

Updated on 24-Jun-2020 09:51:44

9K+ Views

The determinant of a square matrix can be computed using its element values. The determinant of a matrix A can be denoted as det(A) and it can be called the scaling factor of the linear transformation described by the matrix in geometry.An example of the determinant of a matrix is ... Read More

C++ Program to Perform Postorder Recursive Traversal of a Given Binary Tree

Chandu yadav

Chandu yadav

Updated on 24-Jun-2020 09:47:24

4K+ Views

Tree traversal is a form of graph traversal. It involves checking or printing each node in the tree exactly once. The postorder traversal of a binary search tree involves visiting each of the nodes in the tree in the order (Left, Right, Root).An example of postorder traversal of a binary ... Read More

C++ Program to Copy Strings

Chandu yadav

Chandu yadav

Updated on 24-Jun-2020 09:45:13

3K+ Views

A string is a one dimensional character array that is terminated by a null character. The value of a string can be copied into another string. This can either be done using strcpy() function which is a standard library function or without it.The program to copy a string without using ... Read More

C++ Program to Find Factorial of a Number using Iteration

Chandu yadav

Chandu yadav

Updated on 24-Jun-2020 09:42:42

3K+ Views

Factorial of a non-negative integer n is the product of all the positive integers that are less than or equal to n.For example: The factorial of 6 is 720.6! = 6 * 5 * 4 * 3 * 2 *1 6! = 720The factorial of an integer can be found ... Read More

Create a responsive pagination with CSS

Chandu yadav

Chandu yadav

Updated on 24-Jun-2020 08:32:29

404 Views

You can try to run the following code to create a responsive pagination with CSSExampleLive Demo                    .demo {             display: inline-block;          }          .demo a {             color: blue;             float: left;             padding: 3px 8px;             text-decoration: none;          }                     Our Quizzes                          

Advertisements