更新会员积分
来源:互联网 发布:spss调查问卷数据录入 编辑:程序博客网 时间:2024/05/16 02:01
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace Day02_03{ class Program { static void Main(string[] args) { int[] points = new int[5]; //历史积分数组 int[] newpoints = new int[5]; //新年积分数组 Console.WriteLine("请输入5位会员的积分"); for (int i = 0; i < points.Length; i++) { Console .Write("第"+(i+1)+"位会员积分:"); points[i] = Convert.ToInt32(Console.ReadLine()); } //数组复制 for (int i = 0; i < points.Length;i++ ) { newpoints[i] = points[i]; newpoints[i] = newpoints[i] + 500; } Console.WriteLine("\n序号\t\t历史积分\t新年积分"); for (int i = 0; i < points.Length;i++) { Console.WriteLine((i+1)+"\t\t"+points[i]+"\t\t"+newpoints[i]); } Console.WriteLine("请按任意键继续..."); Console.ReadLine(); } }}
0 0
- 更新会员积分
- java练习——更新会员积分
- 会员积分排序
- 会员积分规则
- 查找会员积分
- 易软会员、会员积分管理软件
- POS会员积分调试过程
- 题目1346:会员积分排序
- 手机会员消费积分软件
- VIP会员积分系统V8.0
- 【九度】题目1346:会员积分排序
- 用数组录入并输出会员积分
- 九度题目1346:会员积分排序
- 金管家:会员积分怎么设置积分规则?
- 帝国下载整合disucz 2.0 会员积分同步教程
- 九度笔记之 1346:会员积分排序
- dedecms 会员登录积分每天只限增加一次的方法
- 设置网站会员积分系统需要考虑哪些问题?
- android 开发零起步学习笔记(二十八):15 个 Android 通用流行框架大全
- 【JAVA】struts的property用法
- 【BZOJ 2186】[Sdoi2008]沙拉公主的困惑 欧拉函数
- [ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a
- Centos7 网络配置
- 更新会员积分
- 【机器学习】线性分类LogisticRegression
- 亲们,你们的tomcat并发能到多少?
- mybatis select标签中resultMap和resultType作用区别
- iOS仿QQ分组效果
- CSS你可能还不知道的一些知识点
- ueditor在鼠标后面添加内容
- Android receiver 多次启动相同Activity
- Wireshark网络抓包(三)——网络协议