+1 714-215-3097

(Solved) : Write C Program Follows Single Source Code File Declares Structure Named Distance Two Inte Q35593063

Write a C program as follows:

  • Single source code file
  • Declares a structure named distance with two integer membersfeet and inches
  • Requests the input of two distances in feet and inches
  • Calls a function named addDistance() that accepts two structureobjects (i.e. distances), performs an addition of the twodistances, and prints the sum in feet and inches

Submit your program source code file and a screen shot of theruntime output to this assignment.

Can you also add LOTS of comments. I am trying to learn, andcomments help me to learn properly.  

Leave a Reply

Your email address will not be published. Required fields are marked *