This site requires Javascript to work properly. Please enable Javascript in your browser.
check to search in 'Trends'
Log in
Awschult
(0)
Posts
0 Posts
Moderating
0 Room
Posts
Comments
@fschmidt. Do you really think Java is better for this? Frankly, I find linked lists cleaner as a set of macro functions. But that just the C in me.
Given two integers, provided by the user, the program prints the sum of the integers back to the user.Also, you have a typo in the print
Nice post!I have a couple of recommendations. Depending on what level of "professionalism" you want to teach, I would consider using `puts()` instead of `printf()` for string that don't need formatting as it is safer and more performant. Also, the standard math library has a `PI` constant built-in that is more accurate.