From a3b6d42d35550c5d4885657e3e0dc79561b9f4e2 Mon Sep 17 00:00:00 2001 From: Abhilash Joshi <45088116+alphaspear@users.noreply.github.com> Date: Thu, 10 Jun 2021 22:14:54 -0700 Subject: [PATCH] Add files via upload --- CSE-B/Abhilash Joshi-1018424/Question1.java | 9 +++++++++ CSE-B/Abhilash Joshi-1018424/Question2.java | 10 ++++++++++ 2 files changed, 19 insertions(+) create mode 100644 CSE-B/Abhilash Joshi-1018424/Question1.java create mode 100644 CSE-B/Abhilash Joshi-1018424/Question2.java 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