Ödev

  1. Kullanıcıdan sayı değeri alabileceğiniz bir form hazırlayın.
  2. Gelen sayı değerlerinin 3 ile bölümünden kalanın 0 olup olmadığını kontrol eden bir fonksiyon yazın.
  3. Kullanıcıya girilen değerin 3 bölünebilirliğini, bölünemiyorsa bölünebilen ilk değeri kullanıcıya bildirin.
  4. Boş değer gönderilirse değerin boş olmayacağını bildirin.


Örnek:

  • Girilen Sayı : 4
  • Girdiğiniz sayı 3'e bölünemez. Bölünebilecek ilk sayı 6'dır.

Ödev

Submit your work to complete this lesson.

Join the project workspace to share your solution and receive feedback.

Quiz

Answer the questions to check your understanding.

This lesson includes a short quiz.

Lesson discussion

Swap insights and ask questions about PHP Temel

Be the first to start the discussion

Ask a question or share your thoughts about this lesson.