Skip to content

venkatasykam/hello-world

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hello-world

https://github.com/venkatasykam/hello-world https://github.com/venkatasykam/JarProjects import java.util.Scanner;

class AddNumbers { public int substarction(int a, int b){ return a-b; } //Main Add Method public static void main(String args[]) { int x, y, z; System.out.println("Enter two integers to calculate their sum "); Scanner in = new Scanner(System.in); x = in.nextInt(); y = in.nextInt(); z = x + y; System.out.println("Sum of entered integers = "+z); } } //AddNumbers Class //New comment

About

Creating first repository hello-world on GIT

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages