OpenJudge 05:Type conversion 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 05:Type conversion 2

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

Author
Hsukqi Lee
Posted on

2022-07-03

Edited on

2022-08-04

Licensed under

CC BY-NC-ND 4.0

# Programing  Cpp  OpenJudge  NOI  NOIP

Comments

Name
Mail
Site
None yet