这是我们获得的用于创建程序的代码,但它无法正常工作,有人可以帮忙吗?
var rad; var pi,item, total; var area, item, total; var circum, item, total;
rad = readNumber("Please enter the radius of a circle");
pi = 3.1416;
area = rad * rad * pi;
circum = 2 * rad * pi;
printLine ("The radius you entered is"rad);
printLine ("The area of the circle is"area);
printLine ("The circumference is"circum);