THIS A PROGRAMMING SITE YOU CAN LEARN PROGRAMMING FROM THIS SITE.PYTHON,JAVA,SPEECH-RECOGNITION
Search This Blog
PYTHON : SUM OF TWO NUMBER IN PYTHON
SUM OF TWO NUMBER IN PYTHON.HOW TO SUM OF TWO NUMBERS IN PYTHON. JUST WRITE AND RUN THIS CODE fname = int(input("Enter First number:")) snumber = int(input("Enter Second Number :")) sum = fname+snumber
HELLO WORLD IN PYTHON.HOW TO WRITE FIRST PYTHON CODE-HELLO WORLD FIRST YOU NEED TO INSTALL PYTHON : PYTHON DOWNLOAD AFTER DOWNLOAD AND INSTALL OPEN IDLE AND ADD THIS CODE: PRINT("HELLO WORLD") THEN RUN YOU GOT THE RESULT THIS THE WAY TO YOU CAN WRITE FIRST PROGRAMME HELLO WORLD IN JAVA
Hello World in java First create a class.Here the class name is Demo.Then Create the main method which is represents the starting point of the program.On the main class use print statement to print something using " System.out.println()". The Code Is: public class Demo { public static void main(String args[]) { System.out.println("Hello world"); } }
Comments
Post a Comment