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;

______ _________ ____ ______ _____ __________ _______ _________.
__________ ______ ________ ___ __________ ___ _______ _________ _______.
________ ___ ______ _____ _______ ___ ______ ____ ________.
_____ ___ _____ ___ ____ _______.
_____ _______ ____ ________ ____ _____ _____ ________.
_____ ______ ____ ____ ___ _______ _____ ______ _______.
_________ _________ ________ __________ _______ _____ ______ ___ _____ ________ _____.
________ _______ _________.
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
→