is. Writé QBASIC program
6. a) accept a number and displa the sum and the different
Answers
Answered by
0
Answer:
In cpp
Explanation:
#include<iostream>
using namespace std;
int main()
{
int a, b;
cin>>a>>b;
int sum = a+b;
int diff = a-b;
cout<<sum<<endl;
cout<<diff<<endl;
return 0;
}
Similar questions