إخواني السلام عليكم ورحمة الله أنا سمعت بالDesign حبيت أعرف شو هو وطرقة كتابة Design لهذا الكود
#include <vcl.h>
#include <iostream>
#include <stdlib.h>
using namespace std;
#pragma hdrstop
//---------------------------------------------------------------------------
#pragma argsused
int main()
{
int x, y, z;
cout << "\nplease enter the numbers: ";
cin >> x >> y >> z;
while (x < 1 || x > 1000)
{
cout << "\nplease enter the first number should between 1-1000 : ";
cin >> x;
}
while (y < 1 || y > 1000)
{
cout << "\nenter the second number: ";
cin >> y;
}
while (z < 1 || z > 1000)
{
cout << "\nenter the third number: ";
cin >> z;
}
if (x == y * z)
cout << "\nthe first is amulet of the second and third: ";
else
cout << "\nthe number is not correct: ";
getchar();
system("pause");
return 0;
}
//---------------------------------------------------------------------------

