lab01.5 - return(0) } /* This will not change the output...

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

View Full Document Right Arrow Icon
Sheet1 Page 1 /* * Lab01 */ #include <stdio.h> int main(void) { /* Declare Variables */ int i int j int result /* Assign Values to variables */ i = 2 j = 7 result =(i*i)+ (11*j) - 10 printf("the result is %d\n", result) i = 4 printf("the result is %d\n", result)
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: return(0) } /* This will not change the output for the second print statement because the arithmetic operators have already been calculated and I did not tell to computer to recalculate. */...
View Full Document

Ask a homework question - tutors are online