📄 6xi.cpp
字号:
// ReadPatient() Input a free-form line of patient data
// ASSUMPTION: input lines conform to the documented format
// OUT: sex will be returned as the letter `F' or `M'
// age will be returned as an integer following the input `A'
// weight will be returned as a float following the input `W'
void ReadPatient (char& sex, int& age, float& weight)
{ ReadItem (sex, age, weight);
ReadItem (sex, age, weight);
ReadItem (sex, age, weight);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -