Creating a Simple Triangle Pattern in C++

Creating a Simple Triangle Pattern in C++

Logic Used   Above, for –> j=2*i-1 & Lower, for –>  j=n-i

Tutorial to make Star Patterns

Tutorial to make Star Patterns

Swapping 2 numbers without 3rd variable in JAVA

Swapping 2 numbers without 3rd variable in JAVA

Description Here actually, what we are doing is just swapping(interchanging) the 2 numbers, stored in 2 different variables(say a & b). Please keep in mind, here we are not using…

Use of printf() function in C

Use of printf() function in C

Description printf() is a built-in function. C does not contain any instruction to display output on screen rather it uses a readymade libraty function printf() to achieve it. For us…


1 2 6 7