ARMY5 نشر 19 ديسمبر 2022 أرسل تقرير مشاركة نشر 19 ديسمبر 2022 Write a program that prompts the user to enter unlimited websites addresses in the form: https://website.domain Stop the input process when "@" is entered. Your program should print: 1. How many address belonged to Jordan. 2. How many address belonged to Saudi Arabia. 3. If the website's address is not secured , print a message indicating that this website might cause harm to your computer. Note: a none secured website is a website with the address: http//website.domain اقتباس رابط هذا التعليق شارك على الشبكات الإجتماعية More sharing options...
0 Kais Hasan نشر 19 ديسمبر 2022 أرسل تقرير مشاركة نشر 19 ديسمبر 2022 إن حل التمرين لك لن يحسن من مهاراتك البرمجية و لن يعود عليك بالفائدة، من فضلك قم بمحاولة حل التمرين لوحدك و في حال واجهتك مشاكل يمكننا مساعدتك، لكن لا يمكننا إعطاءك الحل بشكل مباشر. كمساعدة بسيطة حاول البحث عما يدعى بال regex، من السهل حل التمرين باستعمالهم. اقتباس رابط هذا التعليق شارك على الشبكات الإجتماعية More sharing options...
السؤال
ARMY5
Write a program that prompts the user to enter unlimited websites addresses in the form:
https://website.domain
Stop the input process when "@" is entered.
Your program should print:
1. How many address belonged to Jordan.
2. How many address belonged to Saudi Arabia.
3. If the website's address is not secured , print a message indicating that this website might cause harm to your computer.
Note: a none secured website is a website with the address: http//website.domain
رابط هذا التعليق
شارك على الشبكات الإجتماعية
1 جواب على هذا السؤال
Recommended Posts
انضم إلى النقاش
يمكنك أن تنشر الآن وتسجل لاحقًا. إذا كان لديك حساب، فسجل الدخول الآن لتنشر باسم حسابك.