Posts

simple hangman code in java

A very simple hangman code in java -------------------------------------------------------------------------------------------------------------------------- package assignment; import java.util.*; class game { String word[]={"appreciate","arithmetic","artificial","earthquake","economical","elasticity", "population","positively","screenplay","toothpaste"}; String mword2; String t; int temp; int random() { Random rn = new Random(); //to generate random no. between 1-9 int rand = rn.nextInt(9)+1; return rand; } String chooseword()  //to choose a random word {   String mword; int r=random(); mword=word[r]; return mword; } String modword()  // to put "_" in word {  int t2; t=chooseword(); String st=t; for(int i=0;i<5;i++) { t2=random();    st=change(t2,st); } return st; } String change(int t2,Str...

Why your youtube downloader is not working....

Why your youtube downloader is not working............... I had this same problem when my ytd suddenly stopped downloading videos.... if you are downloading videos and not able to download it even when you have a good internet connection.. then this might help you out........ if  you use a proxy network (like of your university or college) and alternately you also use a non proxy network(the one you use at your home) then when you are downloading your videos at home simply disable your proxy network and then try again downloading the video... To disable proxy network....... 1)  go in the control panel and search proxy. open the tab .look for LAN settings uncheck use proxy and save.