Preview:
// Online C++ compiler to run C++ program online
#include <iostream>
#include<iomanip>
using namespace std;
int main() {
    int table,sp,ep,ans;
    cout<<"enter a table,start point and end point respectively"<<endl;
    cin>>table>>sp>>ep;
    
    for(int i=sp;i<=ep;i++){
        ans = table*i;
        cout<<ans<<endl;
    }
    cout<<"bye"<<endl;
    
    
  

    return 0;
}
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter