and difference in the following form:
20 + 10 = 30
20 – 10 = 10
B. Modify the above program to provide border lines to the address.
C. Write a program using one print statement to print the pattern of asterisks as shown below:
D. Write a program that will print the following fi gure using suitable characters.
E. Area of a triangle is given by the formula
where a, b and c are sides of the triangle and 2S = a + b + c. Write a program to compute
the area of the triangle given the values of a, b and c.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here