table,sp,ep

PHOTO EMBED

Tue Oct 10 2023 13:36:11 GMT+0000 (Coordinated Universal Time)

Saved by @yolobotoffender

// 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;
}
content_copyCOPY