C Programming

ANSWERS: CLASS EXERCISE C5


	#include <stdio.h>

	main()
	{
		int sum = 50;
		float modulus;
    
    		modulus = sum % 10;
		printf("The %% of %d by 10 is %.2f\n", sum, modulus);
	}


	The % of 50 by 10 is 0.00
	_

©Copyright B Brown. 1984-1999. All rights reserved.