Solution for Exercise 6-11

ex0611

#include <stdio.h>

int main()
{
    int prime;

    prime = 701;
    printf("Shadrach is %d\n",prime);
    prime = 709;
    printf("Meshach is %d\n",prime);
    prime = 719;
    printf("Abednego is %d\n",prime);
    return(0);
}

Notes

* Rather than simply re-assign a variable's value, as shown above, most C language code relies upon calculations to set a new value for a variable.