-->
当前位置:首页 > 题库

PROGRAMMING:Statistical report (1)

Luz5年前 (2021-05-10)题库378
A small commodity production enterprise introduces microcomputer management. Please write a program to input the sales volume of four quarters and output the annual sales statistical report of the enterprise.
####Input format
```c
Four integers are the sales volume of each quarter
```
####Output format
```c
Annual sales report (see output sample)
```
####Input sample
```in
sixty-two thousand one hundred and forty-seven
twenty-five thousand three hundred and sixty-six
nine thousand and forty-four
thirty-nine thousand three hundred and forty-six
```
####Output sample
```out
┌───┬───┐
Quarterly sales volume
├───┼───┤
First quarter
├───┼───┤
Second quarter 25366
├───┼───┤
Third quarter 9044
├───┼───┤
The fourth quarter
├───┼───┤
Throughout the year 135903
└───┴───┘
```
The actual display effect is as follows:
> ![ Title. PNG] (~ / 4353d6a5-0c6b-4ff6-901e-1034a3a9adcd. PNG)
Note: if you are using Windows 7 / 8 / 10 operating system, you need to set the running window.
-Right click on the window title bar and select "properties"
-Switch to the options card and select use legacy console
-Switch to "font" card, select "dot matrix font" for font and "8" for size × 16”
-Click the "OK" button.
---
Tip: please use full angle tab, all table lines are thin lines.







answer:If there is no answer, please comment