Professional Documents
Culture Documents
Find the error and fix the bug from the following codes-
1. Write a program that will print the numbers 10 to 55 which are completely divisible by the last digit of your
ID (if there is a 0 in the last digit, consider it as 13) and count the output integers.
Sample Output:
Divisible by Eight(8) : 16, 24, 32, 40, 48
Count: 5
2. Write a program that will calculate the distance from A to C for the given diagram.
3. Write a program that will calculate the area of the diagram if that is a triangle.