If you turned in a solution in class, you already got credit for this assignment. Otherwise, answer the following and submit to the E22 box on Canvas.

Exercise 22

Draw the CDG for the following function:

int main(){
	i = getchar();
	if (i == 1){
		printf("hi!");
	} else {
	 	i = 1;
	}
}