آلسلآم عليكم ورحمه آلله وبركآته ,,
ممكن لاهنتوآ آعرف شو الخطأ آللي في الكود ؟
#include<iostream>
using namespace std;
int x;
int read(int x)
{
cout<<"Enter the number : ";
cin>>x;
cout<<"\n\n";
return x;
}
void multy()
{
for(int a=1;a<=12;a++)
cout<<x<<" X "<<a<<" = "<<x*a<<endl;
}
int main()
{
read(x);
multy();
return 0;
}وشكرآ جزيلا :blush: