求以下表达式的值,要求同时写出值的类型sizeof(int)*10/3.28>6+35-22&&8>9"Computer"=="Games""hello "+"world "@ "This is " "a book = "This is \ "book "设x=true,y=true,z=false,a=6,求下列表达式的值.x||y&&y||cx&&6=7&&c

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/15 10:42:36

求以下表达式的值,要求同时写出值的类型
sizeof(int)*10/3.2
8>6+3
5-22&&8>9
"Computer"=="Games"
"hello "+"world "
@ "This is " "a book = "This is \ "book "
设x=true,y=true,z=false,a=6,求下列表达式的值.
x||y&&y||c
x&&6=7&&c

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace ConsoleApplication12
{
class Program
{
static void Main(string[] args)
{
Console .WriteLine ( sizeof(int)*10/3.2);
Console .WriteLine ( 8>6+3);
//Console .WriteLine ( 5-22&&8>9);
Console .WriteLine ( "Computer"=="Games");
Console .WriteLine ( "hello "+"world ");
Console.ReadLine();
//Console .WriteLine ( @ "This is " "a book "!= "This is \ "book ");
}
static void examples()
{
}
}
}