/**************************************************************************** * math3.c * * Computer Science 50 * David J. Malan * * Computes and prints floating-point total. * * Demonstrates use of a format string with specified precision. ***************************************************************************/ #include int main(int argc, char * argv[]) { float answer = 17 / 13.; printf("%.2f\n", answer); }