php练习6——面向对象编程(打印乘法表)

  • 要求:编写一个成员函数,从键盘输入一个数(0—9),打印出对应的乘法表
  • 程序:viewChengFB.html    

   

         chengFB.class.php

        

        printChengFB.php 

   

  • 结果

    

       

 

原文地址:https://www.cnblogs.com/seaBiscuit0922/p/5733967.html