C++programming
Tuesday, 16 May 2017
Printing all factorials in a given range in c++
›
#include<iostream> using namespace std; void factorial(int start,int end); //prototype of function int main(){ int star...
1 comment:
TURN PRIME NUMBERS IN TO DESCENDING ORDER in C++
›
// ADD A FUNCTION TO TURN PRIME NUMBERS IN TO DESCENDING ORDER #include<iostream> using namespace std; int primes(int * a,int star...
PRINTING prime numbers in a given range by pointers in c++
›
#include<iostream> using namespace std; int primes(int * a,int start,int end); int main(){ int start,end; int arr[100]={0}; ...
c++ program to print ascending and descending order by passing array pass by reference
›
// ascending and descending.cpp: Defines the entry point for the console application. #include<iostream> using namespace st d; vo...
Monday, 15 May 2017
PRINTING OUT PRIME NUMBERS USING PASS BY REFERENCE in c++
›
#include<iostream> using namespace std; void primearray(int arr[],int size); int main(){ int arr[20]={1,2,3,4,5,6,7,8,9,10,11,12...
C++ Input and Output array using function
›
MAKE two arrays to input float values and characters from user and displaying values of array element on screen. #include<iostream> ...
OVERLOADING PREFIX AND POSTFIX INCREMENT
›
OVERLOADING PREFIX AND POSTFIX INCREMENT #include<iostream> using namespace std; class counter{ private: int count; public: co...
›
Home
View web version