Find the time complexity for the given question
voidfunc() {
int x = 0 i = 0 j=1;
cout<< "Enter an Integer value";
cin>>n;
while (i<n] {
x //
i++;
}
while (j<n){
}
}
voidfunc() {
int x = 0 i = 0 j=1;
cout<< "Enter an Integer value";
cin>>n;
while (i<n] {
x //
i++;
}
while (j<n){
}
}