C++ Code To Print The Number Of Months And Days Between Two Dates In a Year::

C++  Code To Print The Number   Of    Months  And   Days Between Two Dates  In  a Year(Used  in labrary Applications )
=============================================================================

 #include <iostream>

using namespace std;
int main()
{
    string Mname;
    // month,day,year decraring
    int day,month,year,day2,month2,year2;
    // others stuff used in the programe:
    int sub
,Maxday;
   

C++ Code To Find The Square Of First 10 Natural Numbers Ans Print There Average::

C++   Code To Find The Square Of First 10 Natural  Numbers Ans Print There Average::
=================================================================

#include <stdio.h>

int main()
{
int num = 1, p = 0;
float average;

C++ Code To Print The Positive ,Negative And Zero In A Matrix

C++ Code To Print The  Positive ,Negative And Zero In A  Matrix
=================================================


#include <stdio.h>
#include <stdlib.h>
#define MAXDIM 10

C++ Code TO Print Following:

 C++ Code TO Print Following:
========================

10 9 8 7 6 5 4 3 2 1
9 8 7 6 5 4 3 2 1
8 7 6 5 4 3 2 1
7 6 5 4 3 2 1
6 5 4 3 2 1
5 4 3 2 1
4 3 2 1
3 2 1
2 1
1

C++ Code To Print The Sum Of Even And Odd Numbers Between Any Two Numbers::

 C++ Code To Print The Sum Of Even And Odd Numbers Between Any Two Numbers::
=================================================================

#include <stdio.h>
int main()
{
int firstnum, secondnum, sumOfEvenNumbers = 0, sumOfOddNumbers = 0,i;

C++ Code To Find The Hex Value Of AllThe Charecters In A String ::

 C++ Code To Find The Hex Value Of AllThe Charecters In A String ::
=====================================================


#include <iostream>
#include <string>
using namespace std;
int main(){

C++ Code To Find The Average Of The Numbers Entered::

C++ Code To Find The Average Of The Numbers Entered::
============================================

#include <iostream>
using namespace std;
int main()
{
    int a;
    double sum=0;
    cout<<"Enter The Number of Terms : ";