#P1454. L3 选择题

L3 选择题

Description

1、执行以下代码,输出的结果是(  )

cout<< (843/100)<<endl;

A、 8.43   B、 8   C、 4  D、 3

2、以下选项中,指数函数是(   )

A、pow( ) B、 floor( ) C、ceil( ) D、sqrt( )

3、执行以下代码,输出的结果是( )

    cout<< (-4%2) <<endl;

A、0   B、 1    C、2    D、 2.0


Input Format

Output Format

每个题目的答案,用大写字母表示,每题占一行

Source

蓝桥等考