2018-10-31作业1

using System;

using System.Collections.Generic;

using System.Linq;

using System.Text;

 namespace ConsoleApplication1

 {

class Program

{

static void Main(string[] args)

 {

 Console.WriteLine("请输入苏小鬼的语文成绩");

 int chinese = Convert.ToInt32(Console.ReadLine());

 Console.WriteLine("请输入苏小鬼的数学成绩");

 int math = Convert.ToInt32(Console.ReadLine());

bool b = chinese > 90 || math > 90;

Console.WriteLine(b);

 Console.ReadKey();

 }

 }

 }

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • using System; using System.Collections.Generic; using Sys...
    零二幺五阅读 136评论 0 0
  • 知识点: 注:int类型默认32位有大小范围 且第一位为符号位 0 为正 1 为负 8.4作业 A:1、风力预警系...
    cGunsNRoses阅读 1,127评论 0 0
  • 运算符 忠告:多练才是王道 清明时节雨纷纷,狠敲代码有大奔 中秋佳节倍思亲,狂敲代码拿年薪 知识点 一、 算数运算...
    c592a8530dfe阅读 632评论 0 0
  • #代码 using System; using System.Collections.Generic; using...
    柏建春阅读 175评论 0 0
  • 代码 using System;using System.Collections.Generic;using Sy...
    皮皮虾_98e9阅读 186评论 0 0