Answer to Question #196184 in C++ for vedat dervişgil

Question #196184

a=0 while (a<5) 2a. b=0 2b. while (b<a) 2bi display "_"; 2bii b=b+1 2c. a=a+1


1
Expert's answer
2021-05-21T05:15:21-0400
#include<iostream>
using namespace std;
int main(){
int a=0,b,i=1,c;
while(a<5){
   c=2*a;
    b=2*a;
while(b<a){
    b=2*b*i;
    cout<<"_"<<endl;
    b=2*b*i*i;
b=b+1;
i+=1;
}
a=a+1;
}
cout<<a<<","<<b<<endl;
return 0;}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog