Write a function that takes the base and height of a triangle and return its area.Using c#, nested for loop | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

Write a function that takes the base and height of a triangle and return its area.Using c#, nested for loop

Sample Output: Base: 3 Height: 2 Area of the triangle: 3 Ā  Base: 7 Height: 4 Area of the triangle: 14 Ā 

7th Jan 2021, 1:19 PM
Jumong
Jumong - avatar
1 Resposta
+ 3
Jumong , before we can help you, you should show us your attempt first. if you have not done a try by yourself upto now, please do so. Put your code in playground and link it here. Thanks!
7th Jan 2021, 3:30 PM
Lothar
Lothar - avatar