5# Area of triangle | Scratch Coding Practices & challenging Tasks

Поделиться
HTML-код
  • Опубликовано: 1 окт 2024
  • Area of a Triangle
    Write a code that takes the base and height of a triangle and return its area.
    Formula
    A = 1/2 × b × h
    Examples
    triArea(3, 2) ➞ 3 .
    triArea(7, 4) ➞ 14
    triArea(10, 10) ➞ 50

Комментарии • 5

  • @mazharmazharali9015
    @mazharmazharali9015 2 года назад +1

    Good 👍

  • @fuzzy2107
    @fuzzy2107 Год назад

    This is simple. what if you drew the triangle, recorded the points in variables, then find the area for a challenge. or else you don't know what the triangle looks like

  • @afaqahmad41
    @afaqahmad41 2 года назад

    ❤️❤️❤️❤️

  • @NoExcuseSirr
    @NoExcuseSirr 6 месяцев назад

    Thanks!

  • @football_color
    @football_color Год назад

    The Best