Question: Could someone please help me figure out a few errors in my c program? I've included screenshots of the code. Thank you. [malpq8etc-m610-login-node623 ]5 compile
[malpq8etc-m610-login-node623 ]5 compile lab4.c lab.c: In function main': lab4.c:49:5: error: sun' is used uninitialized in this function [-Werror-uninitialized] umnum610; lab4.c:55:7: error: sum2' is used uninitialized in this function [-Werroruninitialized] printf("Sum of the product and sum of extreme digits of %d is %d ", num, sum2); lab4.c:60:7: error: 'sum3' is used uninitialized in this function -Werror-uninitialized] printf("The sum of the smallest and largest digit in %d-%d ", num, sum3); ccl: all warnings being treated as errors Cmalpq8etc-m610-login-node623 -1$
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
