static unsigned char main_source(unsigned char data){data=(unsigned char)rand();return data;}void _main(){unsigned char data;data=' ';data=main_source(data);{unsigned char result=data * 2;printHexUnsignedCharLine(result);}}
static unsigned char main_source(unsigned char data){data=(unsigned char)rand();return data;}static void main(){unsigned char data;data=' ';data=main_source(data);{unsigned char result=-1;if (data <=(UCHAR_MAX/2)){result=data * 2;printHexUnsignedCharLine(result);}else{printLine("Input value is too large to perform arithmetic safely.");}}}