Professional Documents
Culture Documents
Java File
Java File
Java File
for
Java Programming and Introduction
of python Lab (BCE-C657)
2022 - 2023
By:
Your Name Enrollment Number Branch
Submitted
to
Mr. Namit Khanduja,
Assistant Professor, Department of Computer Science & Engineering,
Faculty of Engineering & Technology,
Gurukul Kangri Deemed to be University, Haridwar.
Declaration
This is to certify that the programs done in this manual has been developed by me and I have
not copied this file from anywhere.
Signature of Student
Certificate
Signature Signature
1. CEL TO FARENHEIT
2. FARENHEIT TO CEL
3. NESTED CLASSES
5. STRING SLICING
6. LIST COMPREHENSION
7. DICTIONARY COMPREHENSION
8. BMI CALCULATION
9. DAWOOD ABRAHIM
List of Programs
Problem Statement:
Write a program to convert a given Celsius temperature to Fahrenheit.
Code:
import java.util.Scanner;
}
Input:
Output:
Problem Statement:
Write a program to convert a given Fahrenheit temperature to Celsius.
Code:
import java.util.Scanner;
}
Input:
Output:
Problem Statement: