Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
luciana abbruzzese
2,199 PointsProblem with output when changhing the b number
Hi, I´m stuck in this part. When changing the value for B I get this. I have this in the output "(lldb) " this is the code:
int main() {
int a = 11;
int b = 12;
int minimun;
char min_value;
if ( a < b ) {
minimun = a;
min_value = 'a';
}
else
{
minimun = b;
min_value = 'b';
}
printf("%c %d is the minimun\n", min_value, minimun);
return 0;
}
Gabe Nadel
Treehouse Guest TeacherGabe Nadel
Treehouse Guest TeacherHI Luciana,
The community is happy to help, but I think we need a little more context. What do you mean "I get this"? What is "this"? I see your code, but I don't see what was output to lldb. Also, I don't see anywhere in the code where you change the value of b, you simply set it as 12 and then don't change it anywhere else.