السلام عليكم ورحمة الله وبركاته
تحية طيبة
للجميع
ياريت لمن لديه خبرة في لغة البرمجة سي بلس بلس ان يساعدني في حل هذا السؤال
جعل ذالك من ميزان حسناته ن شاء الله
تحياتي$$-e
Write a C++ code to implement the following application. Make sure to define all variables that you will use. The title of the application is "Question2" and it should appear on the title bar of the form. You should use well designed form which is more suitable to the users:
1-The ending value must be greater than 180.
2-The stepping must be greater 20.
3-Number of iterations must be less than or equal to 10.
If any of the above rules is violated, the second memo will be cleared and the following messages will be printed in it as follows (consider that the first and the second rules
maybe both violated within the same execution):
If rule 1 is violated then print: “Sorry, the ending value must be greater than 180”.
If rule 2 is violated then print: “Sorry, the stepping must be greater than 20”.
If rule 3 is violated then print: “Sorry, Number of iterations is more than 10, try another numbers".
none of the above rules is violated, the memo will also be cleared and the following message will be printed: “Thank you, get your result now” and the Run button will be disabled.
Run button will establish all of the above design and Exit button will close the application.
The run time design when the values 300 and 25 are entered is shown as below
im13.gulfup.com/2011-12-02/1322880562101.png
تحية طيبة
للجميع
ياريت لمن لديه خبرة في لغة البرمجة سي بلس بلس ان يساعدني في حل هذا السؤال
جعل ذالك من ميزان حسناته ن شاء الله
تحياتي$$-e
Write a C++ code to implement the following application. Make sure to define all variables that you will use. The title of the application is "Question2" and it should appear on the title bar of the form. You should use well designed form which is more suitable to the users:
1-The ending value must be greater than 180.
2-The stepping must be greater 20.
3-Number of iterations must be less than or equal to 10.
If any of the above rules is violated, the second memo will be cleared and the following messages will be printed in it as follows (consider that the first and the second rules
maybe both violated within the same execution):
If rule 1 is violated then print: “Sorry, the ending value must be greater than 180”.
If rule 2 is violated then print: “Sorry, the stepping must be greater than 20”.
If rule 3 is violated then print: “Sorry, Number of iterations is more than 10, try another numbers".
none of the above rules is violated, the memo will also be cleared and the following message will be printed: “Thank you, get your result now” and the Run button will be disabled.
Run button will establish all of the above design and Exit button will close the application.
The run time design when the values 300 and 25 are entered is shown as below
im13.gulfup.com/2011-12-02/1322880562101.png