Skip to main content

Posts

Showing posts with the label Explanations

Why are Pandemics more Common Now?

     Why do Pandemics keep happening There was a time when people did not care about any disease. They were not afraid to go out or catch any disease. Then came COVID-19. Covid-19 caused havoc around the whole world. People were trapped inside their homes. Across the world, businesses suffered losses. During the second wave in India, its health system almost collapsed.  If we reflect back, we will realize that pandemics and epidemics are more common now than they used to be. But, why is that so?

How to Create a Java Program for Division (With explanations)| Learn Java in 5 minutes

How to Create a Java Program for Division. (With explanations) Java is a common Programming Language used nowadays. In this blog, I will show you how to create a simple Java Program for Division. Java is easy to understand. Java may look difficult but is very easy. If you are having problems in learning it, I have created a tutorial below on how to learn it. Believe me, it is very easy. 1.While writing a division program, you must start with import java.util.*;   Note: don't forget to write ";". It acts as a full stop.   2.Now you need to write "class" and the name of your program. 3.After that, you have to write a command. It is "public static void main()" 4. Next write the scanner class. Just write "Scanner x= new Scanner (System.in);" 5. Next, write "int" and any character such as a,b and c. Int means integer. 6. Now you have to write the output which will be visible to the visitor. So if my characters are a,b,c t