作业帮 > 综合 > 作业

求以下表达式的值,要求同时写出值的类型

来源:学生作业帮 编辑:神马作文网作业帮 分类:综合作业 时间:2024/11/21 01:56:29
求以下表达式的值,要求同时写出值的类型
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()
{
}
}
}