809人评价 查看评价
9.5 内容实用
9.5 简洁易懂
9.2 逻辑清晰

## 交作业，欢迎测试及改进

string[] name = new string[] { "景珍","林惠洋","成蓉","洪南昌","龙玉民","单江开","田武山","王三明"};            int[] score = new int[] {90,65,88,70,46,81,100,68};            int sum=0,index=0;            float avge;            for (int i = 0; i < score.Length; i++)       ...

666

text是系统变量

## 换个写法，随便写写

using System;using System.Collections.Generic;using System.Text;namespace projAboveAvg{    class Program    {        static void Main(string[] args)        {            string[] name = {"景珍","林惠洋","成蓉","洪南昌","龙玉民","单江开","田武山","王三明"};            int[] numb...

## 三元运算符写法

//请完善代码，判断数组中有没有7的整倍数
bool hasSeven = false;
foreach (int temp in num) {
hasSeven = temp % 7 == 0 ? true : false ;
if(hasSeven)
break;
}
Console.Write(hasSeven ? "有7的整倍数" : "没有7的整倍数");

## 会员在那开啊

+ 我来回答 回答最高可+2积分

1. bool a = ++x * x > 3;
bool b = a;

2. bool a = ++x * x > 3;
bool b = ++x * x > 3;

## 生成随机整数方法

Random ra = new Random();

## 顺序调换就不同？

1、C#的基本概念 2、Visual Studio的使用技巧 3、C#的语法和程序逻辑

0/150