area of triangle determined through prompts