输入1个大写英文字符,以它的ASCII码值为边长,计算立方体的体积。
char a = 'A';int length = (int)a;printf("%d",lengthlengthlength); //如果数据很大,超过了int范围,要使用long等类型