User talk:Joshi1983

Welcome!

Hello,, and welcome to Wikipedia! Thank you for your contributions. I hope you like the place and decide to stay. Here are some pages that you might find helpful: I hope you enjoy editing here and being a Wikipedian! Please sign your messages on discussion pages using four tildes ( ~ ); this will automatically insert your username and the date. If you need help, check out Questions, ask me on, or ask your question on this page and then place  before the question. Again, welcome! --Ysangkok (talk) 00:37, 16 April 2009 (UTC)
 * The five pillars of Wikipedia
 * Tutorial
 * How to edit a page
 * How to write a great article
 * Manual of Style

February 2012
Welcome to Wikipedia. Although everyone is welcome to contribute to the encyclopedia, one or more of the external links you added to the page Prime number do not comply with our guidelines for external links and have been removed. Wikipedia is not a collection of links; nor should it be used as a platform for advertising or promotion, and doing so is contrary to the goals of this project. Because Wikipedia uses nofollow tags, external links do not alter search engine rankings. If you feel the link should be added to the article, please discuss it on the article's talk page before reinserting it. Please take a look at the welcome page to learn more about contributing constructively to this encyclopedia. Thank you. JohnBlackburne wordsdeeds 00:43, 17 February 2012 (UTC)

Sierpinski Carpet Code
The code I posted works more efficiently, doesn't use trivial parameters, and is easier to understand. I don't know what you did to cause it to not work because I have been using it to generate fractal patterns. — Preceding unsigned comment added by 206.180.152.247 (talk) 05:11, 11 April 2012 (UTC)

Here's a code you can copy and paste into java to prove that it works.

public class Test {   public static boolean fill(int x,int y)    { while(x>0&&y>0) {           if(x%3==1&&y%3==1) return false; x/=3; y/=3; }       return true; }   public static void main(String[] args) {       for(int i=0;i<27;i++) {           for(int j=0;j<27;j++) if(fill(i,j)) System.out.print("█"); else System.out.print("░"); System.out.println; }   } }