<prompt> Programu ya Java inawashauri watumiaji kuingiza jina lao, kuunda nambari ya nasibu kati ya 1 na 10, na kuwauliza wajiulize ikiwa nambari yao ni ya juu au ya chini kuliko nambari iliyotengenezwa, na kuweka idadi ya majaribio hadi wajiulize kwa usahihi, na kuchapisha idadi ya majaribio mwishoni mwa mchezo.  <response>: Random: Please enter your name Please enter your name Please enter your name Please enter your name Please enter your name Please enter your name Please enter your name Please enter your name Please enter your name Please enter your name Please enter your name Please enter your name Please enter your name Please enter your name Please enter your name Please enter your name Please enter your name Please enter your name Please enter your name Please enter your name Please enter your name 