triangle

CF

Inverse Two Triangle Pattern

Inverse Two Triangle Pattern: Fill in the missing lines of code to implement the method (function) printPattern(int N) so that the…
PythonF

Right Angle Triangle

Right Angle Triangle: The length of the three sides of a triangle A, B and C are passed as the input. The program must check it it’s a…
CF

C – Type of triangle

The length of three sides of triangle A,B,C will be passed as input. The program must print the type of the triangle. Input Format:First line…
PythonF

Triangle Pattern – 002

Given an odd integer N, print a triangle with * as mentioned in the below examples. Input Format: The first line contains N. Output Format:…
PythonF

Even Triangle Pattern

Given an integer N as input, the program must print the pattern as mentioned in the Example Input/Output Section. Boundary Condition(s):2…