Page not found
Search results
C++ program for prime numbers
C++ program to print first n prime numbers. C++ program #include <iostream> #include <cmath> using ...
devyog - 22/11/2019 - 22:07
C program to find roots of a quadratic equation
C program to find roots of a quadratic equation: Coefficients of the equation are ... (imaginary). For a quadratic equation ax 2 + bx + c = 0 (a≠0), discriminant (b 2 -4ac) decides the nature of roots. If it's ...
devyog - 16/02/2025 - 16:44
Reverse array in C
C program to reverse an array using an additional array , using swapping ... || []).push({}); Reverse array C program #include <stdio.h> int main ( ) { ...
devyog - 27/11/2019 - 20:55
C program to list files of a directory
C program to list all files, present in a directory/folder, in which its ... present. For example, if the executable file is present in C:\\TC\\BIN, then it will list all the files present in C:\\TC\\BIN. C ...
devyog - 24/11/2019 - 13:47
C program to check orthogonal matrix
C program to check if a matrix is orthogonal or not. For an orthogonal matrix AA T = I. Example of an orthogonal matrix: 1 0 0 1 C program #include <stdio.h> int main ( ) { ...
devyog - 23/11/2019 - 11:40
Area of a triangle in C
C program to find the area of a triangle using Heron's or Hero's formula. The ... The program assumes that a user will enter valid input. C program to find area of a triangle #include <stdio.h> #include ...
devyog - 23/11/2019 - 11:40
C program to delete an element from an array
C program to delete an element in an array: This program deletes or removes an ... || []).push({}); Remove element from array C program #include <stdio.h> int main ( ) { ...
devyog - 11/10/2020 - 14:08
Print an int (integer) in C
How to print an integer in C language? A user inputs an integer, and we print it. Input is done using ... and the number is printed on screen using printf. C program to print an int (integer) #include <stdio.h> int ...
devyog - 12/10/2020 - 22:40
C program to find nCr and nPr
C program to find nCr and nPr, remember, nCr = n!/(r!*(n-r)!) and nPr = n!/(n-r)!. C program to find nPr and nCr using a function #include <stdio.h> ...
devyog - 22/11/2019 - 19:42
C program to restrict mouse pointer in a circle
C program #include<graphics.h> #include<conio.h> ... ; initgraph ( & gd , & gm , "C: \\ TC \\ BGI" ) ; if ( ! initmouse ( ) ...
devyog - 01/12/2019 - 08:56