Posts

Wap to use Loops in Java

 import java.util.Scanner;   class Loops   {   public static void main(String[] arg)   {      Scanner scanner= new Scanner(System.in);   int i;   System.out.print("Enter the Range upto:");   int n = scanner.nextInt();      System.out.println("This is a for loop:");   for(i=0; i<=n; i++)   {   System.out.print(i+"\t");   }   System.out.println(" ");      System.out.println("This is a While loop:");   i=n;   while(i!=0)   {   System.out.print(i+"\t");   i--;   }   System.out.println(" ");      System.out.println("This is a Do While Loop:");   i=0;   do   {   System.out.println(i+"\t");   i=i+2;   }   while(i<=n);   }   }      

WAP to use Logical Operator Java

 import java.util.Scanner; class Logical1 { public static void main(String[] arg) { Scanner scanner=new Scanner(System.in); int n1,n2,n3; System.out.print("Enter First Number:"); n1=scanner.nextInt(); System.out.print("Enter second Number:"); n2=scanner.nextInt(); System.out.print("Enter Third Number:"); n3=scanner.nextInt(); if(n1>n2 && n2>n3) { System.out.println("The && Logical operators Statement is true:"); System.out.println("First Number is Greater than two numbers:"+ n1); } if(n1>n2 || n2>n3) { System.out.println("The || Logical operators Statement is also true:"); } if(n1==n2) { System.out.println("The == Logical operators Statement is also true:"); } if(n1!=n2) { System.out.println("The ! Logical operators Statement is also true:"); } } }

WAP to use Assignment Operator in Java

 class Assignment { public static void main(String []arg) { int a=10; int n; System.out.println("Initial value of 'a' is: "+a); //=Assignment Operator n=a; System.out.println("a value is assignment to n using =operator: "+n); n+=a; System.out.println("n using+=operator:"+n); n-=a; System.out.println("n using-=operator:"+n); n*=a; System.out.println("n using*=operator:"+n); n/=a; System.out.println("n using/=operator:"+n); n%=a; System.out.println("n using%=operator:"+n); } }

इल्युमिनाटी क्या है? | What is Illuminati ? Dark Secret Society -#Illuminati

Image
  Hello Dosto! kya aapne kabhi ye word suna hai Illuminati agar nahi suna hai to mai aapko isi ke bare me batane wala hu mai hu "Saumyajit" So lets Begin video shuru karne se pehele mai aako bata du ki iss video ko pura dekhe tabhi ye samaj me aane wala hai ki ye Illuminati hai kya?

Science Explained ghosts Real or Fake

Image
Hello guys, have you ever thought that why Ghosts are seen at nighttime only? Are ghosts being Real? Paranormal activity means what? the above ques tions I have men tioned I tr ied to disc uss in this blog... ghosts can also be scientifically termed as shadow, or wave or radiation. in nighttime the computers and other radiation spreading machines are mainly not in use, so they don't get strikes to the radiation. This is the only reason that why ghost are appears only at nighttime. One big burning question about ghosts is that ghosts exits or not. one theory came in my mind, and it had been proven that. What we think its existence can be in this universe is must if not than we can't thing. Another they are about the conservation of energy is the Energy neither be created nor destroyed so what happens when if a person is died. I think that it converted into ghosts ...