Need some help writing a program to find the area of a right triangle without using fstream, iostream, etc.

Recommended Answers

All 2 Replies

Maybe i can help you.
Try to write a code.

what does fstream have to do with calculating the area of a triangle? The area is a mathametical operation, not a file operation.

How would you find the area of a triangle using pencil & paper? Then do it the same way in a C or C++ program.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.