subject

Write a C program that will: ask the user for the name of the data file open the data file if the file fails to open, print an error message and repeat step 1 Skip the first line of the data file While: read three points Use a function to calculate the length of each side of the triangle Use a second function to calculate the area of the triangle Print the three vertices for each triangle Print the area of each triangle After all points have been read. Report The maximum area The minimum area The average area Note: Round all output to two decimal places.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 12:20
Usually, when we sniff packets, we are only interested certain types of packets. we can do that by setting filters in sniffing. scapy’s filter use the bpf (berkeley packet filter) syntax; you can find the bpf manual from the internet. set the following filters and demonstrate your sniffer program again (each filter should be set separately): (a) capture only the icmp packet. (b) capture any tcp packet that comes from a particular ip and with a destination port number 23. (c) capture packets comes from or to go to a particular subnet. you can pick any subnet, such as 128.230.0.0/16; you should not pick the subnet that your vm is attached to.
Answers: 3
question
Computers and Technology, 24.06.2019 04:10
Write a program that reads a set of floating-point values. ask the user to enter the values, then print • the average of the values. • the smallest of the values. • the largest of the values. • the range, that is the difference between the smallest and largest. of course, you may only prompt for the values once.
Answers: 3
question
Computers and Technology, 24.06.2019 21:30
The hybrid uses 144 to 158 volt batteries.
Answers: 1
question
Computers and Technology, 24.06.2019 22:00
Need getting google account back, big issue
Answers: 2
You know the right answer?
Write a C program that will: ask the user for the name of the data file open the data file if the fi...
Questions
question
Spanish, 18.03.2021 01:30
Questions on the website: 13722360