exit status 1 Error compiling for board Arduino/Genuino Uno.

fatal error: printf.h: No such file or directory

Do you have this file on your PC and if so, where is it located ?

Please edit your post and put code tags around the code to avoid parts of it being mangled by being interpreted as HTML commands. I assume that you have read this before posting a programming question