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