OpenJudge 1.2编程基础之变量定义、赋值及转换 05:填空:类型转换2

Description

There are two variables A and B, after the following code is executed:

CPP
a = 1.000000001;
b = a;
Printf (" %. 9F %.9f \ n", a, b);

Output two numbers: 1.000000001 1.000000000

Which type of A and B are the following types?

A. BOOL B. Char C. Short d. int E. Float F. Double

Input

none.

OUTPUT

One line contains two capital letters, which represent the type label of variable A and B. A space is separated in the middle.

Input Sample

None

OUTPUT SAMPLE


A B
// Just make an example of format, non - correct answer

Answer

CPP

include <stdio.h>

int Main ()
{{
Printf ("f e \ n");
Return 0;
}

Result

Used Memory:
m128kb
Run time: 1ms
Language: G ++
Submit time: 2019-04-14 09:43:19

http://noi.openjudge.cn/ch0102/05/

OpenJudge 1.2编程基础之变量定义、赋值及转换 05:填空:类型转换2

https://blog.tsinbei.com/archives/539/

文章作者
Hsukqi Lee
发布于

2022-07-03

修改于

2022-07-28

许可协议

CC BY-NC-ND 4.0

# 编程  Cpp  OpenJudge  NOI  NOIP

评论

昵称
邮箱
网址
暂无