c语言 输出字符图形 输入要打印的字符和行数 ,打印出对应的三角图形 图中是我编程序?怎样用C语言输出一个整数n打印字符图形,总共n行,每行n个*组成平行四边形

c语言 输出字符图形 输入要打印的字符和行数 ,打印出对应的三角图形 图中是我编程序

#include《stdio.h》

int main()

{int i,j,c,n;

 scanf(“%c%d“,&c,&n);

 for(i=0;i《n;i++)

 {for(j=0;j《n-i-1;j++)

  printf(“  “);

  for(j=0;j《2*i+1;j++)

    printf(“%c “,c);

  printf(“\n\n“);

 }

return 0;

}

怎样用C语言输出一个整数n打印字符图形,总共n行,每行n个*组成平行四边形

#include 《stdio.h》

#include 《math.h》

int main(void)

{

    int i,j,n=0;

    scanf(“%d“, &n);

    for (i = 0; i 《 n; i++)

    {

        for (j = 0; j 《 i; j++)

        {

            printf(“ “);

        }

        for (j = 0; j 《 n; j++)

        {

            printf(“*“);

        }

        printf(“\n“);

    }

    return 0;

}

字符组成的图形,用什么软件做的

photoshop里的图案生成器可以很方便的做成
1/输入一些文字.并将此层
栅格化
.
2/滤镜菜单里的图案生成器.
3/调整后生成.

如何使用ASCII字符拼出特殊图形

如何使用ASCII字符拼出特殊图形?
在Linux终端中有时会用到字符拼图的情况,此时使用Textaizer 软件就非常棒了,此软件可以使用指定的符号来拼出某个图片或者是字符,使用非常方便,而且是free software,推荐一下。下面是该软件自带的简介说明。
extaizer Pro is a program to paint with text. With Textaizer Pro you can create pictures from text (text mosaic), text from from pictures (ASCII art) and make videoclips with ASCII art.
Possibilities with Textaizer Pro:
KEY FEATURES
– build any picture (bmp, jpg) from text (text mosaic)
– make any text from scratch and using bitmaps (ASCII art)
– make videoclips with ASCII text art effects from video footage or multiple files
– free drawing of ASCII art, possibility to draw from a source picture for better resemblence
ADDITIONAL CHARACTERISTICS
– text must be provided as a plain (ASCII) text file (e.g. via notepad)
– two view modes:
– follow the original wource color (’colorize’), where only colored areas a painted with text
– create a 3D or ’emboss’ effect, allowing the entire text to be visible
– use a white rim around the source to create an artistic painting effect – also useful to avoid ’empty’ lines in some results
– use any fontstyle and any fontsize you like
– multiple font (random font choice)
– automatic white space trimming (to create a better visual result)
– ASCII art creation
– creates text from pictures in any font
– saves the result in text file, ready for printing
– three image enhancement filters to optimize the picture before making a ASCII art of text mosaic
– (de)saturate, lighten/darken and contrast
– visualising by a preview window, thumbnail of the source and a full-screen viewer with zoom
Just sheer fun to make your favourite picture from text !
Maximum values & warnings
– maximum of 100,000 characters of unique text (if more is needed, it will start from the text-beginning again)
– no limit to the result bitmap, but be careful not to generate 400 Mb or more when large source files are chosen. Your system may not longer respond correctly when huge memory is needed for Textaizer Pro. APP Helmond cannot be held responsible for problems when Textaizer Pro is used. Textaizer Pro is guaranteed free of viruses, spyware and commercial nagware. Textaizer Pro is freeware.
CONTACT
Textaizer Pro can be downloaded from the APP Helmond homepage: http://www.mosaizer.com
For questions, bug reports and advice you can send an e-mail to sybren@mosaizer.com
Thank you for using Textaizer Pro.

VB中print的用法,显示字符图形

For i = 1 To 9 Step 2
Print Tab(15 – i); String(i, ““); Spc((10 – i) * 2); String(i, ““)
Next i
spc那个,加个 *2
如果你觉得距离比你要求的大,那就变成 Spc((10 – i) * 2 – 1);

1040: 打印字母塔 1112: 字符图形11-字母正三角 1208: 数字走向I 1209: 数字走向II

希望对你有帮助

1040。。。

import java.util.*;

class Main

{

public static void main(String args)

{

Scanner sc = new Scanner(System.in);

int n = sc.nextInt();

char c = 64;

char x = 66;

int m = 0;

for (int i = 1; i 《= n; i++)

{

m = i;

while (m》0)

{

m–;

c++;

}

for (int k = 1; k 《= n-i; k++)

{

System.out.print(“ “);

}

for (int j = 1; j 《= i; j++)

{

System.out.print(c);

c–;

}

for (int p = 1; p 《 i; p++)

{

System.out.print(x);

x++;

}

x=66;

System.out.println();

}

}

}

1112

import java.util.*;

class Main

{

public static void main(String args)

{

Scanner sc = new Scanner(System.in);

int n = sc.nextInt();

char c = 65;

for (int i = 1; i 《= n; i++)

{

for (int k = 1; k 《= n-i; k++)

{

System.out.print(“ “);

}

for (int j = 1; j 《= i*2-1; j++)

{

System.out.print(c);

c++;

}

c = 65;

System.out.println();

}

}

}

求问大神输出字符图形,c语言

首先你建立一个数组 char a={’X’,’Y’,’Z’,’A’,’B’········};
要求的输出如下:
Z ZZZZ
ZYYYZ
ZYXYZ
ZYYYZ
Z ZZZZ
以x为中心,画一个坐标轴,然后就发现,图形以x轴对称,图形以y轴对称
长与宽都是 2n-1
研究前三排,发现:
第一排有一个字母,第二排有两个字母,第三排有三个字母
而且字母均在a与a[n-1]之间
,然后以第n排为轴线,上下两部分对称
那么可以这么做,定义一个数k
Z ZZZZ k=2
ZYYYZ k=1
ZYXYZ k=0
ZYYYZ k=-1
Z ZZZZ k=-2
那么可以发现每一排的字母排列,都是 a[n-1]输出至a[abs(k)],然后又从 a[abs(k)]输出至a[n-1]
(abs()是取绝对值的意思);
那么就可以定义一个数m,m的值从n-1递减到abs(k),然后由abs(k)递增到n-1,每次输出的字母就是a[m]
当然,m的值要大于等于k,并且小于等于n-1,且到达极限以后就不再递减或者递增
那么程序大概如下:
char c;
k=n-1;
for(int i=0;i《2*n-1;i++){
m=n-1;
for(int j=0;j《n;j++){
c=a[m];
printf(“%c“,c);
if(m》abs(k))
m–;
}
for(int j=0;j《n-1;j++){
if(m《abs(k))
m++;
c=a[m];
printf(“%c“,c);
}

k–;
printf(“\n“);
}
大概就这样了,你试试吧

求个好看简单的字符图案

° ﹏° ˇε3ˇ (:◎)≡ 《□:≡ ┈━═ ▄︻┻═┳一 ︻︼─一 ︻┳═一 ▄︻┳═一
○◇□△▽▷◁◀▶▼▲■◆●§◈▣◎⊙