简单的人品计算器
来源:互联网 发布:软件服务行业 编辑:程序博客网 时间:2024/04/30 20:07
//using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication61
{
class Program
{
static void Main(string[] args)
{
Console.Title = "人品计算器1.0";
Console.WriteLine("人品评估报告");
Console.Write("姓名:");
string a = "";
string comment="";
a = Console.ReadLine();
int b =0;
for (int i = 0; i < a.Length; i++)
{
b+= (int)a[i];
}
b %= 100;
Console.WriteLine("分值:{0}",b);
b /= 10;
switch (b)
{
case 0:
case 1: comment = "非人类,无法评价!"; break;
case 2:
case 3: comment = "拜李宇春哥不灵,叫都敏俊xi不应的倒霉蛋"; break;
case 4:
case 5: comment = "掉人堆里都找不出来的普通人……"; break;
case 6:
case 7: comment = "拥有滑板鞋的思想富足者"; break;
case 8:
case 9: comment = "掌控蓝翔挖掘机技术的宇宙强者"; break;
} Console.WriteLine("评价:{0}",comment);
Console .Read();
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication61
{
class Program
{
static void Main(string[] args)
{
Console.Title = "人品计算器1.0";
Console.WriteLine("人品评估报告");
Console.Write("姓名:");
string a = "";
string comment="";
a = Console.ReadLine();
int b =0;
for (int i = 0; i < a.Length; i++)
{
b+= (int)a[i];
}
b %= 100;
Console.WriteLine("分值:{0}",b);
b /= 10;
switch (b)
{
case 0:
case 1: comment = "非人类,无法评价!"; break;
case 2:
case 3: comment = "拜李宇春哥不灵,叫都敏俊xi不应的倒霉蛋"; break;
case 4:
case 5: comment = "掉人堆里都找不出来的普通人……"; break;
case 6:
case 7: comment = "拥有滑板鞋的思想富足者"; break;
case 8:
case 9: comment = "掌控蓝翔挖掘机技术的宇宙强者"; break;
} Console.WriteLine("评价:{0}",comment);
Console .Read();
}
}
}
0 0
- 简单的人品计算器
- 简单的人品计算器
- 简单的人品计算器
- 设计一个简单的人品计算器
- 简单人品计算器
- 简单人品计算器
- Android简单人品计算器
- 好玩的人品计算器
- 人品计算器的设计
- 用C#设计一个简单的人品计算器
- 人品计算器的VB源代码
- ~~~~~~~~~~~~~人品计算器~~~~~~~~~~~~~~~~~~~~~~~
- 人品计算器
- 人品计算器
- 人品计算器
- 人品计算器
- 人品计算器
- 人品计算器
- instance message is a forward declaration
- AOP 技术概览
- java保留两位小数4种方法
- mac安装redis
- 函数版5个数的升序降序
- 简单的人品计算器
- Java设计模式之Builder和Decorator
- 观余佳文之后
- poj 2398 Toy Storage(计算几何:叉积)
- fzu 2105——Digits Count
- MapReduce: 提高MapReduce性能的七点建议[译]
- linux 系统性能指标
- 枚举类型
- Java学习day09