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...

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...

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...

FINDING SUBSTRING OF A STRING WITHOUT USING PRE DEFINED STRING FUNCTIONS

                                                                 Finding Substring #include<iostream> #include<string> ...

APPENDING TWO STRINGS WITHOUT USING PRDEFINED STRING FUNCTIONS

#include<iostream> #include<string> using namespace std; int main(){ string s1,s2; int count=0; cout<<"Manual...

SWAPPING TWO STRINGS WITHOUT USING PREDEFINED STRING FUNCTIONS

#include<iostream> #include<string> using namespace std; int main(){ string s1,s2; int count=0; cout<<"Manual...

Comparing two strings without using predefined string functions while using getline function

#include<iostream> #include<string> using namespace std; int main(){ string s1,s2; int count=0; cout<<"Manua...

COMPARISION OF STRINGS WITHOUT PREDEFINED STRING FUNCTION

#include<iostream> #include<string> using namespace std; int _tmain(int argc, _TCHAR* argv[]) { string s1,s2; cout<...

convert string of lower case letters to upper case letters

#include<iostream> #include<string> using namespace std; int _tmain(int argc, _TCHAR* argv[]) { string s1; cout<<...

ALL ABOUT STRING CLASS IN ONE PLACE

String class Example 1 :Initializing string #include <iostream> #include <string> using namespace std; int main(...

Comments:

Disqus Shortname