Advertisement
4_2005-2006 Complete Applications #171353

Multiplication Table

This code will accept values from the user and them display a multiplication table. If you like this code please vote for it. You can reach me at [email protected]. My Complete home address is Jake Rodriguez Pomperada Purok Pag-asa, Barangay Alijis 6100 Bacolod City, Negros Occidental Philippines. Happy Programming and God Bless :-D

AI

Riepilogo AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Codice sorgente
original-source
/* Program : Multiplication Table */
/* Author  : Mr. Jake Rodriguez Pomperada */
/* Date   : December 27, 2007 9:26 PM */
/* Language : C */
/* Tool   : Turbo C 2.0 */

#include <stdio.h>
#include <conio.h>

main ()
{
 int  i=0, j=0;
 int rows=0, cols=0;
  clrscr();
   printf("Enter No. of Rows  : ");
   scanf("%d",&rows);
   printf("Enter No. of Columns : ");
   scanf("%d",&cols);

 printf("\n\n");
 printf("\tTHE MULTIPLICATION TABLE ");
 printf("\n\n");
 for (i = 1; i <= rows; i++)
 {
  for (j = 1; j <= cols; j++)
    printf ("%4d ", i*j);
  printf ("\n");
 }
 getche();
} /* End of Code */

Commenti originali (3)
Recuperato da Wayback Machine