电脑知识与技术
電腦知識與技術
전뇌지식여기술
COMPUTER KNOWLEDGE AND TECHNOLOGY
2013年
3期
507-508
,共2页
素数%水仙花数%斐波那契数列%VFP
素數%水仙花數%斐波那契數列%VFP
소수%수선화수%비파나계수렬%VFP
prime number%daffodil number%Fibonacci number%VFP
学生等初学者可以利用VFP中的表单进行一些数学问题的求解.此表单共采用了3个命令按钮和1个列表框以分别实现200以内的全部素数、3位数的全部水仙花数和10项的斐波那契数列.该程序分别采用单重循环、双重循环进行了上述数学问题的求解,浅显易懂,令学生易于理解与掌握.
學生等初學者可以利用VFP中的錶單進行一些數學問題的求解.此錶單共採用瞭3箇命令按鈕和1箇列錶框以分彆實現200以內的全部素數、3位數的全部水仙花數和10項的斐波那契數列.該程序分彆採用單重循環、雙重循環進行瞭上述數學問題的求解,淺顯易懂,令學生易于理解與掌握.
학생등초학자가이이용VFP중적표단진행일사수학문제적구해.차표단공채용료3개명령안뉴화1개렬표광이분별실현200이내적전부소수、3위수적전부수선화수화10항적비파나계수렬.해정서분별채용단중순배、쌍중순배진행료상술수학문제적구해,천현역동,령학생역우리해여장악.
As a beginner, or a novice, a student can utilize some forms of VFP to write some application programs to solve some mathematical problems. The program includes three command buttons and a list box in a form, which can find out the prime numbers that less than 200, the three-digit daffodil numbers and the Fibonacci numbers. The program also adopts single circula?tion and double circulation to solve these mathematical problems respectively. It’s easy to understand and to master for students.