Download as pdf
Download as pdf
You are on page 1of 3
Py DEPARTMENT OF NAAC Ay (2g ACADEMIC AFFAIRS PTE ESV Experiment 3.2 Student Name: Zia Ahmed UID: 21BCS3889 Branch: CSc Section/Group 612-A Semester: 3rd Date of Performance: Subject Name OOPs Java Subject Code: 1. Aim/Overview of the practical: https://www hackerrank.com/challenges/java-loops-i/problem In this challenge, we're going to use loops to help us do some simple math. Given an integer, , print its first multiples. Each multiple (where ) should be printed on a new line in the form: N x i= result. 2. Source Code: import java.io.*; import java.u public class Solution { public static void main(String]] args) { Scanner in = new Scanner(System.in); int N = in.nextIntQ; for(int i= 1; i<= 10; H+) { System.out.printIn(N+ "x" +i+" @gev ACADEMIC AFFAIRS a 3. Result/Output Ree, Peony DEPARTMENT OF C7} ACADEMIC AFFAIRS Evaluation Grid : NAAC GRape Act ‘ACCREDTEDUNIVERSTTY ‘Maximum Marks Sr.No, | Parameters Marks Obtained 1. Student Performance 2 (Conduct of experiment) objectives/Outcomes.. 2. Viva Voce 70 3. ‘Submission of Work Sheet 8 (Record) Total 30 @gev

You might also like