Professional Documents
Culture Documents
(AutonomouscollegeunderVTU)
Bull Temple Rd, Basavanagudi, Bengaluru, Karnataka
5600192020
DepartmentofComputerApplications
By
DateofSubmission:4/3/2023
UndertheGuidance
RVRAGHAVENDRARAO
(AssistantProfessor)
18MCA5PEBC:BlockChainTechnology
OUTPUT:
OUTPUT:
DepartmentofComputerApplications,BMSCE Page2
18MCA5PEBC:BlockChainTechnology
3) Python program to find the area of a triangle whose sides are given.
OUTPUT:
OUTPUT:
DepartmentofComputerApplications,BMSCE Page3
18MCA5PEBC:BlockChainTechnology
OUTPUT:
DepartmentofComputerApplications,BMSCE Page4
18MCA5PEBC:BlockChainTechnology
6) Python program to find the circumference and area of a circle with a given
radius.
OUTPUT:
OUTPUT:
DepartmentofComputerApplications,BMSCE Page5
18MCA5PEBC:BlockChainTechnology
8) Python program to check whether the given integer is a multiple of both 5 and
7.
OUTPUT:
DepartmentofComputerApplications,BMSCE Page6
18MCA5PEBC:BlockChainTechnology
number=1
sum=0
while number<=10:
i=int(input("Enter number"+str(number)+":"))
sum=sum+i
number+=1
print("average is " +str(sum/10))
OUTPUT:
DepartmentofComputerApplications,BMSCE Page7
18MCA5PEBC:BlockChainTechnology
reverse=0
while(n>0):
dig=n%10
reverse=reverse*10+dig
n=n//10
print("Reverse of the number:",reverse)
OUTPUT:
DepartmentofComputerApplications,BMSCE Page8