Here is the code of the program to calculate the sum of the cube of the numbe…
// Copy the following code and compile it to find the sum of the squares if n…
Here is the program to calculate the Sum of the Series 1+2+3 +.... n #inclu…
//This is the program to draw a simple circle using graphics.h header file …
Copy the code and run the program to get the IP address of your PC in the net…
You can shut down the PC by simply copying the code and running in your PC : …
This is a C program that merge two arrays into third array, Arrays are assum…
In this program , arr[] array is declared and n numbers is stored in it which …
#include<iostream> using namespace std; class complex {
#include<stdio.h> main() {
Here is the C program to find Area of triangle where user should input three s…
This program takes 10 numbers from the user and compare a certain number with…
The roots of the equation ax^2 +bx+c=0 are a and b. And to find whether it is …
Switch case is used if there is multiple choices and each case is created for…
Here is C++ program code to find the area and perimeter of rectangle using cla…
This program calculates the distance from intial point (X1,Y1) to Final Point(…
#include<iostream> using namespace std; void fun (int a,int b,int c,in…
#include <stdio.h> void bubblesort(int *, int); void swap(int *, int …
#include<stdio.h> main() {
#include<stdio.h> main() {
#include <stdio.h> long gcd(long, long); int main() {
#include <stdio.h> long gcd(long, long); int main() {
#include <stdio.h> int main() {
/** * Calculates the determinant of a 2x2 matrix * using a function. */ …
#include<stdio.h> int main() {
#include<stdio.h> int main() {
Here is the C program that creates the structure student and store name , rol…
#include<stdio.h> struct date{ int day; int month; …
#include<stdio.h> int main () { int a[5]; int i,j,temp; for(i=0;i&l…
#include<stdio.h> int main () { int a[5]; int i,j,temp; for(i=0;i&l…
#include<stdio.h> #include<math.h> #include<string.h> in…
#include<stdio.h> unsigned int perfect(int i); int main() { int …
#include<stdio.h> #include<string.h> int main() { char arr[500…
#include<stdio.h> int main() { int i,j; long int a[3][4],b[4][3]; f…
#include<stdio.h> int main() { int i,j,k,n,m,p,q,sum=0; printf("…
#include<stdio.h> main() { int i,count; char string[100]; i=0; cou…
#include <stdio.h> #include<conio.h> main() { int n,e=0,c,b; …
#include<stdio.h> main() { int a,b; printf("enter a number to …
#include<stdio.h> int main() { int a, b, c, d; printf("Enter n…
#include<stdio.h> main(){ int m, n, f; n = 0; printf(&qu…
#include<stdio.h> int main() { int a,b,c; b=0; for(a=1;a<=10;a++…
#include <stdio.h> main() { int a,i,b; printf("enter no:")…
Using DO -WHILE Loop #include<stdio.h> main(){ int i = 0, j = 1…
#include<stdio.h> int main() { printf("Hello World !"); re…