#include<iostre am>
#include<stdlib .h>
using namespace std;
int main(){
int i, j, n;
for(i=0;i<n; i++){
for(j=0; j<n; j++){
cout<<"my time complexity is = "<<i*j<<end l;
}
cout<<"complexi ty is increasing"<<j< <endl;
}
system("pause") ;
return 0;
}
#include<stdlib .h>
using namespace std;
int main(){
int i, j, n;
for(i=0;i<n; i++){
for(j=0; j<n; j++){
cout<<"my time complexity is = "<<i*j<<end l;
}
cout<<"complexi ty is increasing"<<j< <endl;
}
system("pause") ;
return 0;
}
Comment