السلآم عليكم
#include <iostream>
using namespace std;
int sub(int a, int b)
{
return (a-b);
}
int main ()
{
int x=5, y=3, z;
z = sub(7,2);
cout << "The first result is " << z << '\n';
cout << "The second result is " << sub(7,2) << '\n';
cout << "The third result is " << sub(x,y) << '\n';
z= 4 + sub(x,y);
cout << "The fourth result is " << z << '\n';
return 0;
}البرنآمج السآبق كتبته وطلعت المخرجآت التآليه
The first result is 5
The second result is 5
The third result is 2
The fourth result is 6
بس مآبعرف Trace
يـ ليت تسسسسسآعدونيّ بـ أسرع وقت
ولكم جزٍيل الشكر
