若要输出实心菱形,只需要把空格换成*就可以。
/* *
* *
* *
* *
* *
* *
* *
* *
* 为输出结果 */
#include "stdafx.h"
int main(int argc, char* argv[])
{
int i,j;
for(i=1;i<=5;i++)