diff --git a/CSE-B/Abhilash Joshi-1018424/Question1.java b/CSE-B/Abhilash Joshi-1018424/Question1.java new file mode 100644 index 0000000..f4bdac5 --- /dev/null +++ b/CSE-B/Abhilash Joshi-1018424/Question1.java @@ -0,0 +1,9 @@ +//Code By Abhilash Joshi +//question 1 Solution +class Question1 //Created Class Question1 +{ + public static void main(String[] args) + { + System.out.println("Hello World");//Printed Text Hello World + } +} \ No newline at end of file diff --git a/CSE-B/Abhilash Joshi-1018424/Question2.java b/CSE-B/Abhilash Joshi-1018424/Question2.java new file mode 100644 index 0000000..98a0db7 --- /dev/null +++ b/CSE-B/Abhilash Joshi-1018424/Question2.java @@ -0,0 +1,10 @@ +class numbers//Created Class Question2 +{ + public static void main(String[] args) + { + for(int i = 1; i <= 10; i++)//Using For loop from 1 to 10 + { + System.out.println(i);//pring numbers on screen + } + } +} \ No newline at end of file