皮皮学,免费搜题
登录
搜题
【简答题】
Geometry Calculator Write a program that displays the following menu: Geometry Calculator 1. Calculate the Area of a Circle 2. Calculate the Area of a Rectangle 3. Calculate the Area of a Triangle 4. Quit Enter your choice (1-4): If the user enters 1, the program should ask for the radius of the circle and then display its area. Use the following formula: area = π*r*r Use 3.14159 for π and the radius of the circle for r . If the user enters 2, the program should ask for the length and width of the rectangle and then display the rectangle’s area. Use the following formula: area = length * width If the user enters 3 the program should ask for the length of the triangle’s base and its height, and then display its area. Use the following formula: area = base * height * .5 If the user enters 4, the program should end. Input Validation: Display an error message if the user enters a number outside the range of 1 through 4 when selecting an item from the menu. Do not accept negative values for the circle’s radius, the rectangle’s length or width, or the triangle’s base or height.
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
.
..
皮皮学刷刷变学霸
举一反三
【简答题】图示为一偏置曲柄滑块机构。试问: AB 杆成为曲柄的条件是什么?若以曲柄为主动件,机构的最大压力角α max 等于多少 ( 写出表达式 ) ?发生在什么位置?
【单选题】新旧民主革命的分水岭是
A.
新文化运动
B.
五四运动
C.
辛亥革命
D.
十月革命
【单选题】利用大棚栽培农作物,科技人员常向大棚内施放适量的二氧化碳。这是因为
A.
会使大棚内的温度升高
B.
二氧化碳可使害虫窒息死亡,防治植物的病虫害
C.
二氧化碳可促进植物进行光合作用
D.
二氧化碳能灭火,可避免火灾的发生
【简答题】中国新民主主义革命时期的统一战线包含着两个联盟。它们在民主革命中的地位和作用是一样的。
【单选题】中国新民主主义革命时期的统一战线包含着两个联盟。其中基本的、主要的联盟是( )
A.
工人阶级同城市小资产阶级的联盟
B.
以工农联盟为主体的工人阶级同农民、小资产阶级等其他劳动人民的联盟
C.
以工农联盟为主体的工人阶级同农民、小资产阶级和民族资产阶级的联盟
D.
工人阶级同可以合作的非劳动人民的联盟
【单选题】中国新民主主义革命时期的统一战线包含着两个联盟。其中基本的、主要的联盟是( )(2006年单选)
A.
工人阶级同城市小资产阶级的联盟
B.
以工农联盟为主体的工人阶级同农民、小资产阶级等其他劳动人民的联盟
C.
以工农联盟为主体的工人阶级同农民、小资产阶级和民族资产阶级的联盟
D.
工人阶级同可以合作的非劳动人民的联盟
【单选题】新旧民主革命的分水岭是
A.
辛亥革命
B.
十月革命
C.
五四运动
D.
新文化运动
【简答题】化学实验和科学探究都离不开实验装置.根据下列装置,回答问题: (1)装置A可用于以高锰酸钾为试剂制取氧气,制取时需要在管口放一团棉花,它的作用是______,写出该反应的化学方程式______. (2)可用于收集氢气的装置是______(填写序号字母). (3)科学探究 查阅资料: 小玲同学查阅资料发现:过氧化钙( 2 )能分别与水、二氧化碳反应. 猜  想: ①过氧化钙与水反应生成氢氧化钙...
【单选题】利用大棚栽培农作物,科技人员常向大棚内施加适量的 CO 2 ,这是因为
A.
CO 2 会使大棚内温度升高
B.
CO 2 可使害虫窒息死亡,防治植物的病虫害
C.
CO 2 能灭火,可避免火灾的发生
D.
CO 2 可促使植物进行光合作用
【简答题】酸、碱、盐和氧化物的知识是初中化学重要的基础知识,以下是同学们对相关知识进行探究的过程. (1)酸和碱的组成中都含有氢元素,如图是氢在元素周期表中的一些信息,下列对图中信息的理解或应用错误的是 . ①A表示氢原子核中含有一个质子 ②B是元素的符号  ③C是元素的名称  ④D是原子的质量 (2)盐酸,硫酸和其他的酸都有相似的化学性质,如:它们都能使酸碱指示剂变色,它们都 ;浓硫酸有 ,故可做干燥剂,...
相关题目: