إعـــــــلان

تقليص
لا يوجد إعلان حتى الآن.

عمليات حسابية لعدة مدخلات input

تقليص
هذا الموضوع مغلق.
X
X
 
  • تصفية - فلترة
  • الوقت
  • عرض
إلغاء تحديد الكل
مشاركات جديدة

  • عمليات حسابية لعدة مدخلات input

    لدي عدد ( 6 ) input

    ( 1 ) input مقسومًا على ( 2 ) input مضروبًا في ( 100 )

    = ( 3 ) input ( النسبة المئوية )

    س1 : مالكود لحساب هاته النتيجة ؟

    ----------------------------------

    ( 4 ) input ( 5 ) + input

    = ( input ( 6

    س2 : مالكود لحساب هاته النتيجة ؟

    ----------------------------------

    س3: مالكود الذي يوضع بـ input لجعله يقبل الأرقام فقط ؟

    س4: مالكود الذي يوضع بـ input لجعله يقبل رقم مكون من عددين فقط ( آحاد وعشرات ) ؟
    أي يقبل من ( 1 - 99 ) لا يقبل الـ 100 وأكثر

    ----------------------------------

    س5: مالشرط الذي يوضع للقيام بعمل ما بعد إدخال قيمة محددة في الـ input ؟


    والشكر لكم مقدمًا
    التعديل الأخير تم بواسطة نقطة حرف; الساعة 02-02-2017, 12:33 PM.

  • #2
    موفق بإذن الله ... لك مني أجمل تحية .

    تعليق


    • #3
      موفق بإذن الله ... لك مني أجمل تحية .
      نحاوال حتى قدوم الاخوة

      تعليق


      • #4
        لا زلت أنتظر قدوم الإخوة

        تعليق


        • #5
          موفق بإذن الله ... لك مني أجمل تحية .

          تعليق


          • #6
            فيما يتعلق سالؤال 3 و 4

            من خصائص الانبوت



            فعل Input Mask

            ثم Options


            ثم املا الخانة الاولى بعلامة ####### و التي تقبل الارقام فقط و حسب عددها يكون تشكيل الرقم



            اي من اجل عدد من رقمين ضع اثنين من #


            لاحظ ما جاء في المساعد

            -------------------------------------------------
            كود:
            An input mask is a special pattern that controls what the user can type into a MaskedInput dialog or input object at run time. The mask can be any combination of regular text characters (literal characters) and special characters. Each special character, as outlined below, represents one "place" in the edit field where the user can type a character. Different special characters allow different kinds of characters to be typed in their "place" by the user. For example, the # character only allows a digit between 0 and 9 to be typed in its place, and the ? character only allows a letter between a and Z.
            
            Note: The special characters you use in the input mask determine what the user will be allowed to type into the edit field.
            
            You can use any literal characters to include "normal" characters in the edit field. The user will type "around" the literal characters as they fill in the "blanks" created by the special characters.
            
            Here are the special characters that you can use in an input mask:
            
            Note: Some of these special literal characters adapt to the user's system settings, so they may need to be forced on all systems using "\" before the character.
            
            .
             Decimal. (Special literal.) This will be replaced by the character specified as the decimal in the user's international settings. To force a period on all systems, use \. instead.
             
            ,
             Thousands separator. (Special literal.) This will be replaced by the character specified as the thousands separator in the user's international settings. To force a comma on all systems, use \, instead.
             
            :
             Time separator. (Special literal.) This will be replaced by the character specified as the time separator in the user's international settings. To force a colon on all systems, use \: instead.
             
            /
             Date separator. (Special literal.) This will be replaced by the character specified as the date separator in the user's international settings. To force a slash on all systems, use \/ instead.
             
            #
             Digit character (0-9). For every # in the input mask, the user will only be able to enter a digit between 0 and 9. To display a literal number sign (#), use \# instead.
             
            A
             Alphanumeric character (0-9 and a-Z). For every A in the input mask, the user will be able to enter any letter from a to Z or any digit between 0 and 9. To display a literal "A", use \A instead.
             
            ?
             Alphabetic character (a-Z). For every ? in the input mask, the user will only be able to enter a letter from a to Z. To display a literal question mark, use \? instead.
             
            >
             Alphabetic character, but forces any letters typed to uppercase (A-Z). For every > in the input mask, the user will only be able to enter a letter from A to Z, and whatever letter they type will be converted to uppercase. To display a literal greater-than sign, use \> instead.
             
            <
             Alphabetic character, but forces any letters typed to lowercase (a-z). For every < in the input mask, the user will only be able to enter a letter from a to z, and whatever letter they type will be converted to lowercase. To display a literal less-than sign, use \< instead.
             
            &
             ANSI Character. Allows any ANSI character in the following ranges: 32-126 and 128-255. To display a literal ampersand, use \& instead.
             
            \
             Literal escape. Use this to make a special character act as a literal in the input mask.
            
            For example, you could create a mask for an IP address:
            
            IP \Address\: ###\.###\.###\.###
            
            ...which would appear as:
            
            IP Address:    .   .   .   
            
            (Note that we needed to use the literal escape for the 'A' in Address, the colon, and all three decimal points.)
            ------------------------------------------------

            تعليق


            • #7
              هذا مثال مفتوح حسب المطلوب
              يمكن ان يفي بالغرض

              http://up.top4top.net/downloadf-398k55io1-rar.html

              تعليق


              • #8
                المشاركة الأصلية بواسطة عبد الهادي بهاب مشاهدة المشاركة
                فيما يتعلق سالؤال 3 و 4

                من خصائص الانبوت



                فعل Input Mask

                ثم Options


                ثم املا الخانة الاولى بعلامة ####### و التي تقبل الارقام فقط و حسب عددها يكون تشكيل الرقم



                اي من اجل عدد من رقمين ضع اثنين من #


                لاحظ ما جاء في المساعد

                -------------------------------------------------
                كود:
                An input mask is a special pattern that controls what the user can type into a MaskedInput dialog or input object at run time. The mask can be any combination of regular text characters (literal characters) and special characters. Each special character, as outlined below, represents one "place" in the edit field where the user can type a character. Different special characters allow different kinds of characters to be typed in their "place" by the user. For example, the # character only allows a digit between 0 and 9 to be typed in its place, and the ? character only allows a letter between a and Z.
                
                Note: The special characters you use in the input mask determine what the user will be allowed to type into the edit field.
                
                You can use any literal characters to include "normal" characters in the edit field. The user will type "around" the literal characters as they fill in the "blanks" created by the special characters.
                
                Here are the special characters that you can use in an input mask:
                
                Note: Some of these special literal characters adapt to the user's system settings, so they may need to be forced on all systems using "\" before the character.
                
                .
                 Decimal. (Special literal.) This will be replaced by the character specified as the decimal in the user's international settings. To force a period on all systems, use \. instead.
                 
                ,
                 Thousands separator. (Special literal.) This will be replaced by the character specified as the thousands separator in the user's international settings. To force a comma on all systems, use \, instead.
                 
                :
                 Time separator. (Special literal.) This will be replaced by the character specified as the time separator in the user's international settings. To force a colon on all systems, use \: instead.
                 
                /
                 Date separator. (Special literal.) This will be replaced by the character specified as the date separator in the user's international settings. To force a slash on all systems, use \/ instead.
                 
                #
                 Digit character (0-9). For every # in the input mask, the user will only be able to enter a digit between 0 and 9. To display a literal number sign (#), use \# instead.
                 
                A
                 Alphanumeric character (0-9 and a-Z). For every A in the input mask, the user will be able to enter any letter from a to Z or any digit between 0 and 9. To display a literal "A", use \A instead.
                 
                ?
                 Alphabetic character (a-Z). For every ? in the input mask, the user will only be able to enter a letter from a to Z. To display a literal question mark, use \? instead.
                 
                >
                 Alphabetic character, but forces any letters typed to uppercase (A-Z). For every > in the input mask, the user will only be able to enter a letter from A to Z, and whatever letter they type will be converted to uppercase. To display a literal greater-than sign, use \> instead.
                 
                <
                 Alphabetic character, but forces any letters typed to lowercase (a-z). For every < in the input mask, the user will only be able to enter a letter from a to z, and whatever letter they type will be converted to lowercase. To display a literal less-than sign, use \< instead.
                 
                &
                 ANSI Character. Allows any ANSI character in the following ranges: 32-126 and 128-255. To display a literal ampersand, use \& instead.
                 
                \
                 Literal escape. Use this to make a special character act as a literal in the input mask.
                
                For example, you could create a mask for an IP address:
                
                IP \Address\: ###\.###\.###\.###
                
                ...which would appear as:
                
                IP Address:    .   .   .   
                
                (Note that we needed to use the literal escape for the 'A' in Address, the colon, and all three decimal points.)
                ------------------------------------------------
                رائع أيها الجميل

                تعليق


                • #9
                  المشاركة الأصلية بواسطة عبد الهادي بهاب مشاهدة المشاركة
                  هذا مثال مفتوح حسب المطلوب
                  يمكن ان يفي بالغرض

                  http://up.top4top.net/downloadf-398k55io1-rar.html
                  يفي بالغرض

                  جزاك ربي جنان الخلد ..

                  تبقى لدينا السؤال الخامس :

                  س5: مالشرط الذي يوضع للقيام بعمل ما بعد إدخال قيمة محددة في الـ input ؟

                  بمعنى :

                  عند كتابة رقم ( 4 ) بداخل الـ input يقوم البرنامج بتنفيذ أمر

                  وليكم مثلا .. ظهور صورة

                  تعليق


                  • #10
                    المشاركة الأصلية بواسطة نقطة حرف مشاهدة المشاركة
                    يفي بالغرض

                    جزاك ربي جنان الخلد ..

                    تبقى لدينا السؤال الخامس :

                    س5: مالشرط الذي يوضع للقيام بعمل ما بعد إدخال قيمة محددة في الـ input ؟

                    بمعنى :

                    عند كتابة رقم ( 4 ) بداخل الـ input يقوم البرنامج بتنفيذ أمر

                    وليكم مثلا .. ظهور صورة
                    ==========================
                    بسم الله الرحمن الرحيم
                    جرب الملف الموجود في المرفقات

                    موفق بإذن الله ... لك مني أجمل تحية .
                    الملفات المرفقة

                    تعليق


                    • #11
                      موفق بإذن الله ... لك مني أجمل تحية .

                      تعليق


                      • #12
                        المشاركة الأصلية بواسطة ياسرهتهت مشاهدة المشاركة

                        ==========================
                        بسم الله الرحمن الرحيم
                        جرب الملف الموجود في المرفقات

                        موفق بإذن الله ... لك مني أجمل تحية .
                        كان بالفعل مثلما أريد

                        رزقك الله الجنة ووالديك

                        شكرًا لك

                        تعليق


                        • #13
                          مشكووووووووور

                          تعليق


                          • #14
                            شـكــ وبارك الله فيك ـــرا لك ... لك مني أجمل تحية .

                            تعليق

                            مواضيع تهمك

                            تقليص

                            المنتدى: القسم العام نشرت بواسطة: Reem2Rabeh الوقت: 04-23-2025 الساعة 04:27 PM
                            المنتدى: ضبط وتوكيد الجودة نشرت بواسطة: HeaD Master الوقت: 04-15-2025 الساعة 09:30 AM
                            المنتدى: التصنيع والانتاج نشرت بواسطة: HeaD Master الوقت: 04-11-2025 الساعة 01:08 PM
                            المنتدى: القسم العام نشرت بواسطة: نوال الخطيب الوقت: 03-19-2025 الساعة 03:07 AM
                            المنتدى: الكمبيوتر والإنترنت نشرت بواسطة: عوض السوداني الوقت: 03-18-2025 الساعة 07:22 AM
                            يعمل...
                            X