单选题

周末爸爸妈妈带着小马去动物园,门票的价格和游客的年龄有关系(关系如下展示),已知爸爸36岁,妈妈33岁,小马12岁,请问小马他们买门票花了多少钱(价格用price表示,年龄用age表示):

#include <iostream>

using namespace std;

int main (){

    int price;

    if (age>=18){ 

        price=32;

    }else{ 

        price=16;

    }

 }

A

36

B

32

C

16

D

80

赣ICP备20007335号-2