Java rewrite "C Classic 100 Questions"--07

Source: Internet
Author: User

"Program 7"
Title: Output Special pattern, please run in C environment, take a look, Very beautiful!
1. Program Analysis: A total of 256 characters. Different characters, graphics are not the same.
2. Program Source code:

1 /*this article transferred from blog: www.cnblogs.com/java-1002 "Program 7"3 Title: Output Special pattern, please run in C environment, take a look, Very beautiful!4 1. Program Analysis: A total of 256 characters. Different characters, graphics are not the same. 5 */6 7  Public classJava07 {8 9      Public Static voidMain (string[] args) {Ten         Chara=176,b=219; OneSystem.out.println (b+a+a+a+b); ASystem.out.println (a+b+a+b+a); -System.out.println (a+a+b+a+a); -System.out.println (a+b+a+b+a); theSystem.out.println (b+a+a+a+b); -     } -}

There are coding problems in this problem, specific reference http://blog.chinaunix.net/uid-29270628-id-3959658.html

Java rewrite "C Classic 100 Questions"--07

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.