Results 1 to 1 of 1
  1. #1
    potatosaladz is offline Member
    Join Date
    Dec 2010
    Posts
    1
    Rep Power
    0

    Question [ASK]Java Flow Chart to source code

    Hi...i just started learning java.
    i got a task about implement a flow chart to java source code
    the flow chart are below on the attacment.

    i wanna ask..is my code true or false.
    if it is false, how is the true code.
    plz help, i have confuse.thx.
    my code is


    Java Code:
    input int n;
    int i=0,a,b;
    if(n>0){
       while(i<=a){
           if(n>i){
               if(n>a){
    	           if(b>a) b=1;
               }else{
    	           n=a;
    	           if(n*b >i) b=1;
               }
           }else{
    	   n=1;
           }	
       i++;
       }
    }
    Attached Thumbnails Attached Thumbnails [ASK]Java Flow Chart to source code-flowchart.jpg  

Similar Threads

  1. java compiler source code
    By vkolluru in forum New To Java
    Replies: 13
    Last Post: 02-24-2010, 08:28 AM
  2. [SOLVED] Source code of Java API
    By Gudradain in forum New To Java
    Replies: 3
    Last Post: 01-01-2009, 06:17 AM
  3. Can we Obtain Java Source Code?
    By tornado in forum New To Java
    Replies: 7
    Last Post: 12-10-2008, 08:23 PM
  4. Replies: 1
    Last Post: 11-28-2008, 07:27 PM
  5. open source java code
    By reena in forum Advanced Java
    Replies: 1
    Last Post: 04-19-2008, 07:57 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •