C/C++ langauge odd and even numbers - Part4

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ก.ค. 2021
  • we apply this defination in C Language:
    A number is odd if it has 1 as its rightmost bit in bitwise representation. It is even if it has 0 as its rightmost bit in bitwise representation. This can be found by using bitwise AND on the number and 1. If the output obtained is 0, then the number is even and if the output obtained is 1, then the number is odd.
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 6

  • @suraaalsadi9825
    @suraaalsadi9825 2 ปีที่แล้ว +1

    مساء الخير استاذ
    بدون زحمه ممكن تشرحلنه هالسؤال او تنزلنه الحل
    اكتب برنامجًا في C Plus يحتوي على فئة تتضمن ما يلي
    بيانات الطالب
    معرف الطالب والاسم والعمر ومستوى الصف. استخدم وظيفتين ، الأولى من الداخل
    يقوم الفصل بقراءة معلومات الطالب والآخر خارج الفصل لعرض معلومات الطالب
    وس٢ نفسه لكن يريد اذا كانوا ٥ طلاب

    • @MssabObeado
      @MssabObeado  2 ปีที่แล้ว +1

      ممكن توضحي اكثر قصدك قائمة باسماء الطلاب وتفاصيل درجاتهم ؟ وشو قصدك من الدخل ؟

    • @suraaalsadi9825
      @suraaalsadi9825 2 ปีที่แล้ว

      @@MssabObeado استاذ هذا السؤال الي راده الاستاذ. من عدنه
      Write a program in C Plus that contains a class that includes the following
      student data:
      Student ID, name, age and grade level. Use two functions, the first inside
      the class to read the student’s information and the other outside the class
      to display the student’s information.
      وراد نفس البرنامج لكن اذا كانوا ٥ طلاب

    • @MssabObeado
      @MssabObeado  2 ปีที่แล้ว +1

      @@suraaalsadi9825 طيب ممكن لو سمحتي تبعثي السؤال كامل على الصغحة الرسمية وانشالله رح قوم بعمل شرح كامل او نراسلك بالحل .
      شكرا لسؤالك

    • @suraaalsadi9825
      @suraaalsadi9825 2 ปีที่แล้ว +1

      @@MssabObeado تسلم استاذ ينطيك صحه وعافيه
      اكون ممنونه منك

    • @suraaalsadi9825
      @suraaalsadi9825 2 ปีที่แล้ว

      @@MssabObeado استاذ رسلت السؤال والماده ع الفيس الخاص بيك