Example #1
0
int main(void)
{
    getNumberAndBase();
    convertNumber();
    displayConvertedNumber();

    return 0;
}
Example #2
0
int main(void)
{
	void getNumberAndBase(void), convertNumber(void),
	displayConvertedNumber(void);
	getNumberAndBase();
	convertNumber();
	displayConvertedNumber();

	return 0;
}
Example #3
0
int main(void)
{
    do
    {
        getNumberAndBase();
        if (gNumberToConvert == 0)
            break;
        convertNumber();
        displayConvertedNumber();
    }
    while (gNumberToConvert > 0);
}
Example #4
0
int main (void)
{
	void getNumberAndBase (void), convertNumber (void),
		 displayConvertedNumber (void);

	while ( 1 ) {
		digit = 0;
		getNumberAndBase ();
		if ( numberToConvert == 0 )
			break;

		convertNumber ();
		displayConvertedNumber ();
	};

	return 0;
}