Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

Construct a program that will display the multiplication table of 10 in c++ using array plss ASAP.. Thanksss

+1 vote
asked Feb 15, 2018 by Justin Apilado (440 points)

1 Answer

0 votes
answered Feb 16, 2018 by anonymous
#include <iostream>
using namespace std;
int main(){
  int arr[11];
  for(int i=1; i<=10; i++){
    arr[i] = i*10;
  }
  for(int i=1; i<=10; i++){
    cout<<10<<"*"<<i<<"="<<arr[i]<<endl;
  }
}
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...