Answer to Question #132648 in C++ for Ggnuke

Question #132648

Code 2 integers and find their difference on printf


1
Expert's answer
2020-09-11T09:02:43-0400
#include <iostream>
#include <stdio.h>

using namespace std;

int main()
{
  int a, b;
  cout << "Integer a: ";
  cin >> a;
  cout << "Integer b: ";
  cin >> b;
  printf ("a-b: %d ", a-b);
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS