1) Write a function reverse(A) which takes a matrix A of arbitrary dimensions as input and returns a matrix B consisting of the columns of A in reverse order. Thus for example, if A = 1 2 3 then B = 3 2 1 4 5 6 6 5 4 7 8 9 9 8 7 Write a main program to call reverse(A) for the matrix A = magic(5). Print to the screen both A and reverse(A). 2) Write a program which accepts an input k from the keyboard, and which prints out the smallest fibonacci number that is at least as large as k. The program should also print out its position in the fibonacci sequence. Here is a sample of input and output: Enter k>0: 100 144 is the smallest fibonacci number greater than or equal to 100. It is the 12th fibonacci number.
标签: dimensions arbitrary function reverse
上传时间: 2016-04-16
上传用户:waitingfy
求解 形如 a*x^2+b*x+c=0 (mod p)的二次同余方程,其中p为任意素数,a,b,c为任意整数.
上传时间: 2014-01-11
上传用户:er1219
用java编写的标准化考试系统 (B/S网络版)
上传时间: 2013-12-18
上传用户:qoovoop
用java编写的 图书查询系统 (B/S网络版)
上传时间: 2013-12-18
上传用户:三人用菜
该系统是一个B/S结构的公司定饭系统,整套软件由JSP编制,希望大家能够多提宝贵意见,但请不要将它应用于商业环境,如实在要使用的话,请与作者联系!(使用此系统无比要有ORACLE8i以上版本数据库!)
上传时间: 2014-10-14
上传用户:Shaikh
B/S结构邮件系统的源码,该代码基本实现了收发邮件的功能
上传时间: 2013-12-23
上传用户:851197153
超声影像工作站系统可与各种型号的B超、彩超连接,实时采集、显示、处理、存贮超声图像,采用全数字化处理技术,可对各种超声图像进行动态采集
上传时间: 2014-06-01
上传用户:ippler8
TMS320C6000 DSP Power-Down Logic and Modes Reference Guide (Rev. B).pdf
标签: Power-Down Reference C6000 Logic
上传时间: 2014-12-07
上传用户:woshini123456
一个简单的药店进,销,存系统。 本程序主要面向三类权限的用户:药库管理员、药品出售员、一般患者。他们分别具有以下基本权限: 1) 一般患者 具有查询药品价格、类别等一般信息,不能进行修改、添加。 2) 管理员 主要负责系统维护工作,包括增加用户删除用户,数据备份与初始化等。 3) 出售员 出售员只能按处方出售药品,不能修改药品价格等信息。 以上各种用户的基本需求,为了最大程度的方便用户,我们还提供以下功能: a. 当管理员登录时,对于库存低的药品会给出警示,药品的最低库存可自行设制。 b. 对每个月每种药品的销量做出统计,并作出示意图。 c. 数据备份、恢复
标签:
上传时间: 2016-05-05
上传用户:离殇
IntraWeb电影程序 B/S类型的演示 Delphi+Internet 开发的电影服务器 系统登录电影网站的用户名和密码都是admin 观看电影的最低要求: 请确保你的系统已经安装媒体播放器9.0和RealOne播放器并且得升级浏览器为IE6.0以上,且系统比较支持COOKIE. 程序占用了90端口.在运行时请确保此端口没被其它程序占用.
标签: IntraWeb Internet Delphi admin
上传时间: 2013-12-18
上传用户:lijinchuan