#include<iostream>
#include<conio.h>
#define height 10

using std::cout; 
using std::cin;
using std::endl;

int main ()
{
//int num=0;
int n,m,width;
int count = 0;
int nums[count]; int div=0;

cout<<"Enter the number you wish to enter: "; cin>>width;
int jologs [height][width];
cout<<endl<<width<<endl;
 
for (int i=0, m=width; i < width; m--,i++)
    {
    cout<<endl<<endl<<"Number(s) Left to Enter "<<"["<<m<<"]"<<"..."<<endl<<endl;
    cout<<"Enter number: "<<" ===> "; cin>>nums[count];
    count++;
    }
  for (n=0;n<height;n++)
    for (m=0;m<width;m++)
    {

     jologs[n][m]=(n+1)*(nums[m]);
    // cout<<"\t"<<jologs[n][m]<<" "<<endl;
    }
      cout << "A multiplication table:" << endl
          << "   0\t1\t2\t3\t4\t5\t6\t7\t8" << endl
          << "" << endl;
          
     for(int c = 1,x=0; c < height, x<10 ;x++, c++)
     {
          cout << x << "| ";
          for(int i = 1,x=0; i < width, x < width; x++, i++)
          {
                // div *= nums[x];    
          //cout <<nums[x] << '\t';
          }
          cout << endl;
     }
//cout<<endl<<nums[0];
//cout<<jologs[0][0];
    getch();
  return 0;
}

Recommended Answers

All 2 Replies

OK, so what's the problem?

OK, so what's the problem?

this picture may help what i suppose trying to do.. sorry my english is bad.. tnx in advance..:)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.