Embed presentation
Download to read offline



This C++ program defines two integer variables a and b, assigns values to them, performs calculations on them using subtraction and addition, prints the result to the screen, and waits for a key press before exiting. It includes the iostream and stdio.h headers, uses namespace std, defines the main function which declares and assigns values to the integers, performs the calculations, prints the result using printf, and uses getch to wait for input before ending.


