Professional Documents
Culture Documents
Submitted to Submitted By
Submitted to Submitted By
Dr.Sonia Rani Mayank Bora
int counter = 0;
// Swap
num1 = num2;
num2 = num3;
counter = counter + 1;
// Driver Code
// Given Number N
3. Write a program to create a web page to show your resume.
HTML CODE
<html lang="en">
<head>
<meta charset="UTF-8">
</head>
<body>
<div class="full">
<div class="left">
<div class="Contact">
<h2>Contact</h2>
<p><b>Email id:</b>mayankbora0002@gmail.com</p>
<p><b>Mobile no :</b>7042424567</p>
</div>
<div class="Skills">
<h2>Skills</h2>
<ul>
<li><b>Programming Languages :
Python,C, C++</b></li>
JavaScript</b></li>
</ul>
</div>
<div class="Language">
<h2>Language</h2>
<ul>
<li>English</li>
<li>Hindi</li>
</ul>
</div>
<div class="Hobbies">
<h2>Hobbies</h2>
<ul>
<li>Playing cricket</li>
<li>Reading</li>
<li>Listening Music</li>
</ul>
</div>
</div>
<div class="right">
<div class="name">
<h1>Mayank Bora</h1>
</div>
<div class="title">
<p>Web Developer</p>
</div>
<div class="Summary">
<h2>Summary</h2>
reputable organization
to expand my learning knowledge and skill
</p>
</div>
<div class="Education">
<h2>Education</h2>
<table>
<tr>
<th>College</th>
<th>Percentage</th>
</tr>
<tr>
</tr>
<tr>
<td>First Year</td>
<td>84%</td>
</tr>
<tr>
<td>Second Year</td>
<td>80%</td>
</tr>
<tr>
<td>Third Year</td>
<td>Ongoing</td>
</tr>
<tr>
<td>Fourth Year</td>
<td>___</td>
</tr>
<tr>
<th>School</th>
<th>Percentage</th>
</tr>
<tr>
</tr>
<tr>
<td>HighSchool</td>
<td>82%</td>
</tr>
<tr>
<td>Intermidiate</td>
<td>79%</td>
</tr>
</table>
</div>
<div class="project">
<ul>
<li>
<h2>Project1</h2>
</p>
</li>
<li>
<h2>Project2</h2>
</li>
</ul>
</div>
</div>
</div>
</body>
</html>
CSS CODE
*{
margin: 0;
padding: 0;
box-sizing: border-box;
body {
display: flex;
justify-content: center;
align-items: center;
.full {
width: 50%;
max-width: 1000px;
min-height: 100px;
display: grid;
.left {
position: initial;
padding: 20px;
.right {
position: initial;
padding: 20px;
margin-bottom: 30px;
.h2 {
}
4. Write a program in Java to make an application program i.e calculator
import java.io.*;
import java.lang.*;
import java.lang.Math;
import java.util.Scanner;
num1 = sc.nextDouble();
num2 = sc.nextDouble();
char op = sc.next().charAt(0);
double o = 0;
switch (op) {
case '+':
o = num1 + num2;
break;
case '-':
o = num1 - num2;
break;
case '*':
o = num1 * num2;
break;
case '/':
o = num1 / num2;
break;
default:
break;
System.out.println();
Output
Enter the numbers: