I'm trying to print an isosceles triangle of asterisks (*) with height equal to b. Located inside it is a smaller isosceles triangle with height "a."I have to ask the user for two integers, a and b, wherein b < 0,="" a="">< 0,="" b=""> a, and b - a is equal to an even number.I've managed to code in the two triangles, however, I couldn't combine them. Attached below are two pictures of my output and the expected output.If someone could show me the proper code on how to fix this, please do. Thank you!
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here