Difference with two variable
Input:
Output:
Input:
1 2 3 4 5 6 7 8 9 10 11 12 13 | #include <iostream.h> #include <conio.h> int main() { cout << "Difference with two veriable = X - Y\n"; int X = 66; int Y = 44; int result; result = X - Y; cout << X << " - "<< Y<<" = " <<result << endl; getch (); return 0; } |
Output:
Difference with two veriable = X - Y 66 - 44 = 22
No comments:
Post a Comment