Dotcpp  >  编程题库  >  Little Xie's issue
题目 2191:

Little Xie's issue

时间限制: 2s 内存限制: 192MB 提交: 222 解决: 79

题目描述

Christmas is coming. Little Xie wants to send a message to his friends to wish them a happy Christmas. In order to make the blessing more beautiful, please help him write a program to decorate the output with "*".

输入格式

a string with length L(0<=L<=500)

输出格式

a string surrounded by "*".

样例输入

Merry Christmas

样例输出

*******************
* Merry Christmas *
*******************

提示

零基础同学可以先学习视频课程,包含C/C++、Python、百练、蓝桥杯辅导、算法数据结构等课程,提供视频讲解以及配套习题,还有老师答疑,点击这里了解课程详情
标签