Question
Write a C++ program to demonstrate us of all the arithmetic and logical operators in C++.
Answer :
Word Count : 95
______ ______ _____ _________ ____ _____ __________ _____ ____.
______ ____ __________ _________ _____ ____ _________ _________ ______.
______ _____ _______ _____ _______ ___ ______.
________ ____ _______ ______ ____ _______ ______ ______ ____ __________ ___ _____.
_______ _________ _________ ____ ______ _________ _______ ________.
_____ ______ __________ ___ __________ ____ ____ ________ ___.
______ _____ __________ ____ __________ ___ _____.
Skip in 10
#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
Continue Reading — It's Free
Sign in with Google to unlock more of this answer.
✓ Free access
✓ Unlock up to 60% of the answer
✓ No payment required
✓ Unlock up to 60% of the answer
✓ No payment required
Quick Google sign-in. No separate registration form.