Solution for Exercise 6-14

ex0614

#include <stdio.h>

int main()
{
    printf("The value is %d\n",5);
    printf("And %d is the value\n",5);
    printf("It's not %d\n",5+1);
    printf("And it's not %d\n",5-1);
    printf("No, the value is %d\n",5);
    return(0);
}

Output

The value is 5
And 5 is the value
It's not 6
And it's not 4
No, the value is 5