Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. ZoneDead

    Modules, using local scope

    /* The final code completed */ #include <stdio.h> //prototypes void main(void); int getUserInput(void); int calculateArea(length, width); int calculatePerimeter(width, length); int outputToScreen(area, perimeter); //////////////////////////// void main(void) { int perimeter=0; int...
  2. ZoneDead

    Modules, using local scope

    Salem, that does get me area, but is that modulated?
  3. ZoneDead

    Modules, using local scope

    How do you get the var's to move from main to a module, return that data and pass it on to the next module? This is the code that i have come up with so far, I am attempting to make a program that calculates the area and perimeter of a rectangle. #include <stdio.h> //prototypes void main()...

Part and Inventory Search

Back
Top