Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started