@M_deepakkumar

Employee

updated October 02, 2020 · C++
#include <iostream>
using namespace std;
int health=200,tax=300;
class employee
{
    int ID, basic, Hra, Da, Gp, Np, deduction;
    char name[30];
    public:
    void getdata();
    void grosspay();
    void netpay();

Employee

October 02, 2020 · C++
#include <iostream>
using namespace std;
int health=200,tax=300;
class employee
{
    int ID, basic, HRA, DA, GP, NP, deduction;
    char name[30];
    public:
    void getdata();
    void grosspay();
    void netpay();

Area of Shapes

updated October 02, 2020 · C++
#include <iostream>
using namespace std;
int main()
{
    int area(int,int);
    int area(int);
    int area(double,int);
    int area(double);
    cout<<"AREA OF SHAPES"<<endl;
    cout<<endl;
    cout<<"AREA OF RECTANGLE IS  : "<<area(4,5)<<endl;

Area of Shapes

October 02, 2020 · C++
#include <iostream>
using namespace std;
int main()
{
    int area(int,int);
    int area(int);
    int area(double,int);
    int area(double);
    cout<<"AREA OF SHAPES"<<endl;
    cout<<endl;
    cout<<"AREA OF RECTANGLE IS  : "<<area(4,5)<<endl;

Largest three numbers

updated October 02, 2020 · C++
#include<iostream>
using namespace std;
inline int rishi(int a,int b,int c)
{
    if(a>b&&a<c)
    return(a);
    else if(b>a&&b>c)
    return(b);
    else
    return(c);
}

SORTING

October 02, 2020 · C++
#include<iostream>
using namespace std;
int main()
{
     int x[5]={30,10,8,12,45};
     int y,i,j;
     cout<<"SORTING"<<endl;
    for(i=0;i<=3;i++)
    {
        for(j=i+1;j<=4;j++)
        {

Prime number checking

September 24, 2020 · C++
#include <iostream>
using namespace std;
class prime
{
    int r,g,y;
    public:
    void getdata();
    void checking();
};
void prime::getdata()
{

Prime number checking

September 24, 2020 · C++
#include <iostream>
using namespace std;
class prime
{
    int r,g,y;
    public:
    void getdata();
    void checking();
};
void prime::getdata()
{

Palindrome checking

September 24, 2020 · C++
#include <iostream>
using namespace std;
class palindrome 
{
    int r,g,y,i;
    public:
    void getdata();
    void checking();
};
void palindrome::getdata()
{

Palindrome checking

September 24, 2020 · C++
#include <iostream>
using namespace std;
class palindrome 
{
    int r,g,y,i;
    public:
    void getdata();
    void checking();
};
void palindrome::getdata()
{

Palindrome checking

September 24, 2020 · C++
#include <iostream>
using namespace std;
class palindrome 
{
    int r,g,y,i;
    public:
    void getdata();
    void checking();
};
void palindrome::getdata()
{

Armstrong Number

September 24, 2020 · C++
#include <iostream>
using namespace std;
class arm
{
    int r,g,rem,y;
    public:
    void getdata();
    void checking();
};
   void arm::getdata()
   {

Armstrong Number

September 24, 2020 · C++
#include <iostream>
using namespace std;
class arm
{
    int r,g,rem,y;
    public:
    void getdata();
    void checking();
};
void arm::getdata()
{

Armstrong Number

September 24, 2020 · C++
#include <iostream>
using namespace std;
class arm
{
    int r,g,rem,y;
    public:
    void getdata();
    void checking();
};
   void arm::getdata()
   {

Armstrong Number

September 23, 2020 · C++
#include <iostream>
using namespace std;
class arm
{
    int r,g,rem,y;
    public:
    void getdata();
    void checking();
};
   void arm::getdata()
   {

Armstrong Number

September 23, 2020 · C++
#include <iostream>
using name space std;
class arm;
{
    int r,g,rem,y;
    public:
    void getdata();
    void checking();
};
   void arm::getdata()
   {

Student Mark list

September 11, 2020 · C++
#include <iostream>
using namespace std;
class student
{
    int rollno,m1,m2,m3;
    int total;
    char name[20];
    float avg;
    public:
    void getdata();
    void display();

Student Mark list

September 11, 2020 · C++
#include <iostream>
using namespace std;
class student
{
    int rollno,m1,m2,m3;
    int total;
    char name[20];
    float avg;
    public:
    void getdata();
    void display();

Student Mark list

September 10, 2020 · C++
#include <iostream>
using namespace std;
class student
{
    int rollno,m1,m2,m3;
    int total;
    char name[20];
    float avg;
    public:
    void getdata();
    void display();

Odd or even number

September 10, 2020 · C++
#include <iostream>
using namespace std;
class madhan
{
    int r,g,y;
    public:
    void getdata();
    void odd();
    void even();
};
void madhan::getdata()