C code area of a triangle - C code This program will...

This preview shows page 1 out of 1 page.

/// C code // This program will calculate the area of a right triangle. // Developer: Faculty CMIS102 // Date: Jan 31, XXXX #include <stdio.h> int main () { /* variable definition: */ float base, height, area; /* Prompt user for base */ printf("Enter the base of the triangle: \n"); // Input the base

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture