Thursday, March 5, 2015

Islam Algorithm Java source

import java.util.Scanner;

public class IslamAlgorithm {

    public static void main(String[] args) {
       

char quit = 'N';

Scanner sc2 = new Scanner(System.in);



while (quit == 'N')

{




char reponse = 'N';



Scanner sc = new Scanner(System.in);



while (reponse == 'N')

{

 

  System.out.println("Adhan of al fajr ? (Y/N)");

     

  reponse = sc.nextLine().charAt(0);
 
  char c = '\n';
  int length = 25;
  char[] chars = new char[length];
  Arrays.fill(chars, c);
  System.out.print(String.valueOf(chars));
 
  System.out.println("Still waiting\n\n");
}

reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("3ala Tahara ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}

reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("3ala Wodou2 ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}



reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("Salat al Fajr ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}

reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("Salat al Sobh in Jama3a ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}


reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("Adhkar assabah ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}

reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("Hidb Quran Reading ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}

reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("Birr al walidayne ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}

reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("Ibtigha2 Fadl Allah : Going to work ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");

}

reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("3ala Tahara ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}

reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("3ala Wodou2 ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}




reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("Salat al Doha ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}

reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("Back to work ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}


reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("Adhan al Dohr ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}



reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("3ala Tahara ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}

reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("3ala Wodou2 ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}


reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("Salat of Dohr ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}

reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("Lunch ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}

reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("A littlle Nap ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}

reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("Adhan al Asr ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}


reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("3ala Tahara ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}

reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("3ala Wodou2 ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}


reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("Salat al Asr ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}

reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("Adhkar al massa2 ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}

reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("Adhan al Maghreb ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}


reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("3ala Tahara ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}

reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("3ala Wodou2 ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}

reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("Salat al Maghreb ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}

reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("Quran Hisb Reading ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}

reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("Adhan al Icha2 ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}

reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("3ala Tahara ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}

reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("3ala Wodou2 ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}


reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("Salat al Icha2 ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}

reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("Going to Sleep ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}

reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("9iyam Al leil ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}

reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

  

System.out.println("Marital Affairs ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}

System.out.println("Quit the personnal assistant ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Another day in perspective\n\n\n\n\n");

}



    }

}

No comments:

Post a Comment

Popular Posts