Write a PHP program to create a new string using two given strings s1, s2, the format of the new string will be s1s2s2s1
- برمجة بي اتش بي
- 2021-09-08
- mhanasmh00489829403
الأجوبة
<?php
function test($s1, $s2)
{
return $s1 . $s2 . $s2 . $s1;
}
echo test("Hi", "Hello")."\n";
echo test("whats", "app");
Sample Output:
HiHelloHelloHi whatsappappwhats
أسئلة مشابهة
القوائم الدراسية التي ينتمي لها السؤال