M tra xem chúng có thành l p thành 3 c nh c a ậ

This preview shows page 6 - 7 out of 7 pages.

m tra xem chúng có thành l p thành 3 c nh c a m t tam giác hay không? N u có hãy tính di n tích, chi u dài m i đ ng cao c a ế ườ tam giác và in k t qu ra màn hình. ế - Công th c tính di n tích s = sqrt(p*(p-a)*(p-b)*(p-c) ) - Công th c tính đ ng cao : ha= 2s/a , hb=2s/b, hc=2s/c ườ - V i p là n a chu vi c a tam giác. 3. G i ý:
Image of page 6

Subscribe to view the full document.

- int ktTamGiac(int a,int b,int c) - float dientichTamGiac(int a,int b,int c) - float chuviTamGiac(int a,int b,int c) - float duongcaoTamGiac(int canh,float dientich) 1.11 BÀI T P 10 * 1. Th i l ng: ượ 15 phút 2. Mô t bài toán: Vi t ch ng trình nh p s nguyên d ng n g m k ch s ( 0<k<5), ế ươ ươ ữ ố đ m xem n có bao nhiêu ch s ch n và bao nhiêu ch s l . ế ữ ố ữ ố ẻ 3. G i ý: void demChanLe(int k, ref int demchan,ref int demle)
Image of page 7
  • Fall '19

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern