Jump to content

mrkinney

Members
  • Posts

    2
  • Joined

  • Last visited

mrkinney's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. Ah yes I can see it now. Thank you both for the answers.
  2. I am teaching a course on the ACSL competition to middle school students and my programming skills are little rusty. In the next competition we have a programming challenge where they need to create a program that you can input a string and several substring parameters. The problem is that they need to be able to input a negative number and have it produce the desired result. For example: with the string "Hello world!" input 1: 0, -1 output 1: Hello world input 2: 0,-5 output 2: Hello w input 3: -4,0 output 3: rld! I am at a little bit of a loss as how to go about getting the desired output.
×
×
  • Create New...