Bazgha AJ
Bazgha AJ
Bazgha AJ
Registration Number:191380197
Code:
class Class {
System.out.println("Hello");
Output:
Name: Anjali
Registration Number:191380197
23
456
7 8 9 10
Code:
class HelloWorld {
int rows = 4;
System.out.print(count+"\t");
count++; }
System.out.println(); }
Output:
Name: Anjali
Registration Number:191380197
12
123
1234
Code:
class HelloWorld {
int rows = 4;
System.out.print(j+" ");
System.out.println();
Output:
Name: Anjali
Registration Number:191380197
123
12345
Code:
System.out.print(" ");
int num = 1;
System.out.print(num);
num++;
System.out.println(); } }
}
Output:
Name: Anjali
Registration Number:191380197
Code:
<html>
<body>
<script>
let result;
if (operator == '+') {
}
else if (operator == '*') {
result = number1%number2;
Name: Anjali
Registration Number:191380197
else {
</script>
<body>
</html>
Output:
Name: Anjali
Registration Number:191380197
Program 6: In JSP take input from user and find out whether it is odd or even.
Code:
<html>
<body>
<script>
function oddEven(number){
if(number%2==0){
else{
Name: Anjali
Registration Number:191380197
</script>
<script>
document.write(ans);
</script>
</body>
</html>
Output:
Name: Anjali
Code:
<html>
<body>
<script>
function calculateBill(units)
}
else if (units <= 300)
Name: Anjali
Registration Number:191380197
return (100 * 10)+ (100 * 15)+ (100 * 20)+ (units - 300)* 25;
return 0;
</script>
<script>
document.write(calculateBill(units));
</script>
<body>
</html>
Output:
Name: Anjali
Registration Number:191380197
Program 8: Take a number from user, find out whether it is Armstrong number
or not.
Code:
<html>
<body>
<script>
function Armstrong(number)
var original,remainder,res = 0;
original = number;
while(number > 0)
remainder = number%10;
Name: Anjali
Registration Number:191380197
number = parseInt(number/10);
if(res == original)
else
</script>
<script>
var n = parseInt(prompt("Enter the number"));
document.write(ans);
</script>
</body>
</html>
Name: Anjali
Registration Number:191380197
Output:
Program 9: Take a number from user and find out whether it is palindrome or
not.
Code:
<html>
<body>
<script>
function validatePalin(str) {
Name: Anjali
Registration Number:191380197
</script>
<script>
document.write(ans);
</script>
</body>
</html>
Output:
Name: Anjali
Registration Number:191380197
Program 10: In JSP, make your resume including html tags also.
Code:
<html>
<head><title>My CV </title></head>
<body>
<h1><b> Anjali</b></h1>
<address style="color:black;">[email protected]</address>
<h2 style="color:blue;">PROFILe</h2>
<hr>
Name: Anjali
Registration Number:191380197
<tr>
<th>Qualification</th>
<th>Obtained Marks/GPA</th>
<th>College/School Name</th>
<th>Bord/University</th>
</tr
<tr>
<td>10th</td>
<td>9.2</td>
<td>Kendriya Vidyalaya</td>
<td>CBSE</td>
</tr>
<tr>
<td>12th</td>
<td>64%</td>
<td>Kendriya Vidyalaya</td>
<td>CBSE </td>
</tr>
<tr>
Name: Anjali
<td>B.Tech(CSE) in progress</td>
<td>8.53</td>
<td>MDU</td>
</tr>
</table>
<hr>
<hr>
<h2 style="color:blue;">PROJECTS</h2>
<strong style = "color:black;">Realtime multiclient chat app:</strong> An
extension used for research purpose. It uses picture in picture concept.<br>
Name: Anjali
Registration Number:191380197
<hr>
<h2 style="color:blue;">INTERNSHIP</h2>
<br>
<hr>
<h2 style="color:blue;">COMMUNITY</h2>
</body>
</html>
Name: Anjali