0% found this document useful (0 votes)
8 views6 pages

Java Exp 1

The document outlines an experiment conducted by Utkarsh Joshi in an OOPS using Java course, focusing on a Hacker Rank problem related to loops. The objective is to print the first 10 multiples of a given integer N in a specified format. The document includes input constraints, sample input and output, learning outcomes, and an evaluation grid for performance assessment.

Uploaded by

Parneet Kaur
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views6 pages

Java Exp 1

The document outlines an experiment conducted by Utkarsh Joshi in an OOPS using Java course, focusing on a Hacker Rank problem related to loops. The objective is to print the first 10 multiples of a given integer N in a specified format. The document includes input constraints, sample input and output, learning outcomes, and an evaluation grid for performance assessment.

Uploaded by

Parneet Kaur
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

EXPERIMENT NUMBER –1

NAME – UTKARSH JOSHI SUBJECT – OOPS using Java

UID – 21BCS9158 SUBJECT CODE – 21CSH-218

CLASS AND GROUP – 720-A SEMESTER – 3rd

AIM OF THE EXPERIMENT:

Hacker Rank problem related to loops

PROGRAM STATEMENT:

Objective:

In this challenge, we're going to use loops to help us do some simple math.

Task:

Given an integer, N, print its first 10 multiples. Each multiple N x i (where 1 ≤ i ≤ 10)
should be printed on a new line in the form: N x i = result.

Input Format:

A single integer, N.

Constraints

2 ≤ N ≤ 20.
Output Format

Print lines of output; each line (where 1 ≤ i ≤ 10) contains the result of N x i in the form:
N x i = result.

Sample Input

Sample Output

2x1=2
2x2=4
2x3=6
2x4=8
2 x 5 = 10
2 x 6 = 12
2 x 7 = 14
2 x 8 = 16
2 x 9 = 18
2 x 10 = 20
PROGRAM CODE:
OUTPUT:

ERRORS ENCOUNTERED DURING PROGRAM’S EXECUTION:

NONE
LEARNING OUTCOMES:

• Understand the concepts of object-oriented programming including programming process and


compilation on process.

• Apply different techniques to decompose a problem and programmed a solution with its sub modules.

• Analyze and explain the behavior of simple programs involving the programming addressed in the
course.

• Implement and evaluate the programs using the syntax and semantics of object-oriented
programming.

• Design the solution of real-world problems in order to determine that the program performs as
expected.

Evaluation Grid:

Sr. No. Parameters Marks Obtained Maximum Marks


1. Student Performance 12
(Conduct of experiment)
objectives/Outcomes.
2. Viva Voce 10
3. Submission of Work Sheet 8
(Record)
Total 30

You might also like