SHARE
TWEET

Untitled

a guest Aug 17th, 2019 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.         //Enter your code here, enjoy!
  3. class FullStapps
  4. {
  5.    
  6.   public function languages($name, $role){
  7.     $languages = ["python", "javascript", "go", "c++", "java", "php", "swift", "scala"];
  8.      for ($i = 0; $i < 8; $i++) {
  9.         $language = $languages[$i];
  10.         if($language == $languages[5]){
  11.           echo "A ",$name," le gusta ser ",$role," pero no le gusta prorgramar en ",$language;
  12.         }else{
  13.           echo "",$name," sera un buen ",$role," en ",$language;
  14.         }
  15.       }
  16.  
  17.   }
  18. }
  19.  
  20.  
  21.  
  22.  
  23. $fulls = new FullStapps();
  24. $fulls->languages("Henry", "FulLStack");
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top