填空题

有如下程序:
#include<iostream>
using namespace std;
class Monitor
public:
Monitor(char t):type(t)
void Print( )const
cout<<"The type of monitor is"<<type< private:
char type;

class Computer
public:
Computer(int i,char C) :______
void Print( )const
eout<<"The computer is"<<id<<endl;mort.Print( );
private:
int id;
Monitor mon;

int main( )
const Computer myComputer(101,’B’);
myComputer.Print( );
return 0;
请将程序补充完整,使程序在运行时输出:
The computer is 101
The type of monitor is B

【参考答案】

id(I),mon(C)