Question

Write a C++ program to demonstrate us of all the arithmetic and logical operators in C++.

25 Nov 2017
Answer :
Word Count : 95

#include<iostream.h>

#include<conio.h>

#include<stdio.h>

class oper

{

int s,s1,s2,s3,s4,s5;

//cout<<"USE OF AIRHTEMATIC OPERATOR";

public:

void sum(int a,int b)

{

cout<<"USE OF AIRHTEMATIC OPERATOR"<<endl;

s=a+b;

cout<<"sum="<<s<<endl;

}

void subtract(int c,int d)

{

s1=c-d;

cout<<"subtract="<<s1<<endl;

}

void

______ ______ _____ _________ ____ _____ __________ _____ ____.
______ ____ __________ _________ _____ ____ _________ _________ ______.
______ _____ _______ _____ _______ ___ ______.
________ ____ _______ ______ ____ _______ ______ ______ ____ __________ ___ _____.
_______ _________ _________ ____ ______ _________ _______ ________.
_____ ______ __________ ___ __________ ____ ____ ________ ___.
______ _____ __________ ____ __________ ___ _____.
IGNOU ACADEMY
Your IGNOU journey, made easier.
  • Solved Assignments
  • Study Notes
  • Guess Papers
  • Question Papers
Skip in 10
Top
📞
Call Support Instant phone assistance IGNOU BCSL 32 2016 - Write a C++ program to demonstrate us of all the arithmetic and logica | IGNOU Academy
→
🟢
WhatsApp Chat Fast live messaging
→
Email Us Business enquiries & support
→