/* * ISA 563, Spring 2011 * Copyleft by Muhammad Abdulla */ #include /* * initialize.c -- demonstrates variable initialization and type casting * */ int main(int argc, char* argv[]) { int total_score = 5; int n = 2; double avg = ((double) total_score) / n; printf("value of avg is: %g\n", avg); return 0; }