Computer Science, asked by singhsunilkumar27134, 3 months ago

is. Writé QBASIC program
6. a) accept a number and displa the sum and the different

Answers

Answered by profdambaldor
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