皮皮学,免费搜题
登录
logo - 刷刷题
搜题
【简答题】
图形判断。(rectria,1s,128MB) 【问题描述】 从键盘输入一个大写字母,如果是“J”,则下一行输入两个正整数,表示一个矩形的长和宽,计算并输出该矩形的周长和面积;如果不是“J”,则下一行输入三个数,表示一个三角形的三条边长,计算并输出该三角形的周长。 【输入格式】 输入两行,第一行为一个大写英文字母。 若第一行英文字母为“J”,则第二行有两个正整数;否则,第二行有三个正整数(保证能构成三角形),int范围以内。 【输出格式】 如果是矩形,则输出2个数(中间用一个空格隔开),表示矩形的周长和面积;否则,输出1个数,表示三角形的周长。所有答案均在int范围以内。 【输入样例1】 N 3 8 9 【输出样例1】 20 【输入样例2】 J 3 8 【输出样例2】 22 24
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【单选题】听力原文: Tea drinking was common in China for nearly one thousand years before anyone in Europe had ever heard about tea. People in Britain were much slower in finding out what tea was like, mainly becau...
A.
Because they liked to cat tea leaves.
B.
Because they were curious about the taste of tea leaves,
C.
Because they did not know how to do with tea.
D.
Because they wanted to make sandwiches with tea.
【多选题】Tea drinking was common in China for nearly one thousand years before anyone in Europe had ever heard about tea.People in Britain were much slower in finding out what tea was like, mainly because tea ...
A.
The British got expensive tea from India.
B.
Tea reached Britain from Holland. C.The British were the first people in Europe who drank tea. D.It was not until the 17th century that the British had tea. 68.Tea became a popular drink in Britain_____________. A.in eighteenth century           B.in sixteenth century C.in seventeenth century      D.in the late seventeenth century 69.People in Europe began to drink tea with milk because_____________. A.it tasted like milk B.it tasted more pleasant C.it became a popular drink D.Madame de Sevigne was such a lady with great social influence that people tried to copy the way she drank tea 70.We may infer from the passage that the habit of drinking tea in Britain was mostly due to the influence of ________. A.a famous French lady             B.the ancient Chinese C.the upper social class            D.people in Holland 71.What does the passage mainly talk about? A.The history of tea drinking in Britain     B.How tea became a popular drink in Britain C.How the British got the habit of drinking tea   D.How tea-time was born
【简答题】阅读理解. Tea drinking was common in China for nearly one thousand years before anyone in Europe had ever heard about tea.People in Britain were much slower in finding out what tea was like, mainly becaus...
【简答题】Tea drinking was common in China for nearly one thousand years before anyone in Europe had ever heard about tea. People in Britain were much slower in finding out what tea was like , mainly because te...
【简答题】How did Starbucks bridge the gap between the tea drinking culture and the coffee drinking culture?
【简答题】阅读理解。 Tea drinking was common in China for nearly one thousand years before anyone in Europe had ever heard about tea . People in Britain were much slower in finding out what tea was like , mainly bec...
【单选题】路径功能文本是对( )面描述的一个补充,可以对文本区上方的符号或者部件的功能信息进行定义。
A.
产品
B.
位置
C.
功能
【单选题】听力原文: Tea drinking was common in China for nearly one thousand years before anyone in Europe had ever heard about tea. People in Britain were much Mower in finding out what tea was like, mainly becaus...
A.
Because they liked to eat tea leaves.
B.
Because they were curious about the taste of tea leaves.
C.
Because they did not know how to do with tea.
D.
Because they wanted to make sandwiches with tea.
【简答题】阅读理解。 Tea drinking was common in China for nearly one thousand years before anyone in Europe had ever heard about tea. People in Britain were much slower in finding out what tea was like, mainly becau...
【简答题】How did tea drinking become a trend for the beverage among the aristocracy of England in the seenth century?
相关题目:
参考解析:
知识点:
题目纠错 0
发布
创建自己的小题库 - 刷刷题