Solution for Exercise 6-10
ex0610
#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); }
Output
Shadrach is 701
Meshach is 709
Abednego is 719
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.
Copyright © 1997-2024 by QPBC.
All rights reserved