Skip to content

Opening book details…

Can I read UVa 568 Just the Facts Solution Code on EtoBox?

UVa 568 Just the Facts Solution Code by thextroid is a document available to read on EtoBox.

What is UVa 568 Just the Facts Solution Code about?

This C program precomputes and stores the last digit of the factorials of numbers up to 10001. It uses a precompute function to calculate the factorials and store their last digits in an array. The main function then reads a number n from input, and prints out n and its precomputed last factorial digit.

Author
thextroid
Language
EN