#873. 【入门】求长方形的周长和面积
【入门】求长方形的周长和面积
说明
从键盘读入2个整数,分别代表一个长方形的长和宽,请计算长方形的周长和面积;输入格式
从键盘读入2个整数,用空格隔开输出格式
输出有2行,第1行代表周长,第2行代表面积2 3
10
6
2 3
10
6
By signing up a Hydro universal account, you can submit code and join discussions in all online judging services provided by us.