AP computer science help
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: AP computer science help

  1. #1
    Join Date
    Sep 2010
    Posts
    2

    Cool AP computer science help

    i'm having problems remembering syntax. does anyone think they could help me?
    a drunk is placed at the center of a 7 m bridge. each steps he moves one meter forward or one step back wards. i need to write a program that will determine how many steps the drunk will take before falling off the bridge. it needs to display the bridge for every stage of the trip. it needs to do this 50 times and display the average and greatest number of steps. any help is much appreciated

  2. #2
    dlorde is offline Elite Member Power Poster
    Join Date
    Aug 1999
    Location
    UK
    Posts
    10,163

    Re: AP computer science help

    What syntax are you having problems remembering? If you ask a specific question, you're more likely to get a specific answer.

    What has your program got to do with your syntax problem?

    The sooner you start to code, the longer the program will take...
    R. Carlson
    Please use [CODE]...your code here...[/CODE] tags when posting code. If you get an error, please post the full error message and stack trace, if present.

  3. #3
    Join Date
    May 2006
    Location
    UK
    Posts
    4,474

    Re: AP computer science help

    What syntax are you having problems remembering
    The bit that allows him/her to formulate a request for someone to do the homework for them
    Posting code? Use code tags like this: [code]...Your code here...[/code]
    Click here for examples of Java Code

  4. #4
    Join Date
    Jun 1999
    Location
    SW Missouri
    Posts
    3,448

    Re: AP computer science help

    Norm

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center