Lab1Ab - Exchange Values C = A A = B B = C Show Exchanged...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Sheet1 Page 1 # include <stdio.h> # include <stdlib.h> # include <math.h> int main() { /* Declare and Initialize Variables */ double A, B, C /* Ask for User Input */ printf("Input value for A:") printf("input value for B:")
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: /* Exchange Values */ C = A A = B B = C /* Show Exchanged Values*/ printf("The new value for A is: " "%lf\n", A) p printf("The new value for B is: " "%lf\n", B) /* Exit Program */ return EXIT_SUCCESS }...
View Full Document

This lab report was uploaded on 04/17/2008 for the course CS 1023 taught by Professor Kerstetter during the Spring '08 term at Western Michigan.

Ask a homework question - tutors are online