Category Archives: C++ Array Programs

Function Array Search in C Plus Plus

Function Array Search in C Plus Plus. This is a C Plus Plus programming language program to input size of an array of integer numbers. The program will take item from the user to be searched in this array. If it finds the specified element in array, a suitable message of Item found on location… Read More »

 620 total views,  1 views today

Array Numbers Factorials in C++

Array Numbers Factorials in C++. This is a C++ program using arrays and loops. This program will input five numbers in array. It will find factorials of each element of array and place them in a second array. How This C++ Program Works? 1. First of all declare required arrays and variables. int a[5],b[5],i,n,c; long… Read More »

 4,912 total views,  6 views today

Sum and Average of Float Array in C Plus Plus

Task: Sum and Average of Float Array in C Plus Plus The Source Code of C++ Program Sum and Average of Float Array // Write a C++ Program using Arrays // to input n numbers in array // then Calculate and Print sum & average // of all numbers in array #include<iostream> #include<conio.h> using namespace… Read More »

 2,084 total views,  3 views today

Sum & Count of Even Odd Separately in Array

Task: Sum & Count of Even Odd Separately in Array // Write a C++ program to input 10 numbers // in array then display sum and count of even // and odd numbers in Array, separately. // Author: www.EasyCodeBook.com (c) #include<iostream> using namespace std; int main() { int arr[10],i,esum,osum,ecount,ocount; for(i=0;i<10;i++) { cout<<“Enter Number “<<(i+1)<<” :”;… Read More »

 443 total views,  1 views today

Array Sum & Count Odd Numbers C Plus Plus

Task: Array Sum & Count Odd Numbers C Plus Plus Program The Source Code of Array Sum & Count Odd Numbers C Plus Plus // Write a C++ program to input 10 numbers // in array then display only odd numbers, their // sum and count in array // Author: www.EasyCodeBook.com (c) #include<iostream> using namespace… Read More »

 373 total views,  1 views today

Count and Sum of Even Numbers in Array C Plus Plus

Task: Count and Sum of Even Numbers in Array C++ Program The Source Code of Count and Sum of Even Numbers in Array // Write a C++ program to input 10 numbers // in array then display even numbers, their // sum and count in array // Author: www.EasyCodeBook.com (c) #include<iostream> using namespace std; int… Read More »

 964 total views,  6 views today

Reverse Number Sequence in Array C Plus Plus

Task: Reverse Number Sequence in Array C Plus Plus The Source Code of Reverse Number Sequence in Array C Plus Plus Program // Write a C++ program to input 10 numbers // in array then display actual array // and in reverse order from last to first //element. // Author: www.EasyCodeBook.com (c) #include<iostream> #include<conio.h> using… Read More »

 681 total views,  1 views today

Fibonacci Sequence Generator Using Array C++

Task: Fibonacci Sequence Generator Using Array – C++ Program The Source Code for Fibonacci Sequence Generator Using Array // Write a C++ program to input number of terms // of FIBONACCI Series required, then // display Fibonacci Terms using Array // Author: www.EasyCodeBook.com (c) #include<iostream> #include<conio.h> using namespace std; int main() { //write program to… Read More »

 6,983 total views,  11 views today

Basic Bubble Sort Code in C++

Task: Basic Bubble Sort Code in C++ // Write a C++ program to input 10 numbers in arra // and sort these numbers in ascending orde // using Bubble sort algorith // Author: www.EasyCodeBook.com (c #include<iostream> #include<conio.h> using namespace std; int main() { int arr[10],i,j, temp; for(i=0;i<10;i++) { cout<<"Enter Number "<<(i+1)<<":"; cin>>arr[i]; } cout<<"Array Values… Read More »

 621 total views,  1 views today