Spring 2017 CSCI 235 Goto programming

This assignment is due in class before 10 November or may be uploaded in PDF format or better yet as a C program to goto programming on moodle by 11:55 PM on 10 November.

Problem 1 and only

As preparation for your future mastery of assembly language program; in the style of the Translating C to C goto lecture, rewrite the following C routine so that its only control structure is the goto. That means no while, for, else, or switch statements and no ?: operator. Also, the only allowed use of the if operator is in the form:
    if (b) goto l ;
where b is a variable and l is a label.

You are encouraged to use this C driver to test your program. That will allow you to tell your grandchildren that you once wrote a program using the goto.