Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*Tabla de factoriales
- @Autor Eric Francisco Suarez Gutierrez
- Programacion Orientada a Objetos
- Febrero 2011*/
- import javax.swing.*;
- public class Factoriales{
- public static void main(String []arg){
- JOptionPane.showMessageDialog(null, "Tabla de factoriales\n 1! a 10!");
- JOptionPane.showMessageDialog(null, "Numero Factorial\n 1 1\n 2 2\n 3 6\n 4 24\n 5 120\n 6 720\n 7 5040\n 8 40320\n 9 362880\n 10 3628800");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement