为了账号安全,请及时绑定邮箱和手机立即绑定

这个用c语言怎么写

这个用c语言怎么写

慕勒9319670 2018-11-26 16:01:57
Reverse an ArrayWrite a program that prompts the user to enter the size of an array (maximum of 10 elements).Then prompt the user to enter the value of each element of the array.Then your program must print to the screen the result of reversing the array.For reversing the array you must use a function with the following headervoid reverseArray(int A[ ], int size)The array must be reversed in place.Enter size of the array to reverse(max-size is 10): 5 Enter the 5 elements for the array: 1 2 3 4 5 The original array is: [1, 2, 3, 4, 5] The reversed array is: [5, 4, 3, 2, 1]
查看完整描述
  • 2 回答
  • 0 关注
  • 1041 浏览

添加回答

举报

0/150
提交
取消
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号