0

Print string ERIC in pattern in c++ using for loop

output should be C I C R I C E R I C

22nd Jul 2017, 10:12 AM
Prerna
Prerna - avatar
1 ответ
+ 1
//Simple. //code should be: #include<iostream> using namespace std; int main(){ cout<<" C \n I \t C \n R \t I \t C \n E \t R \t I \t C \n" <<endl; return 0; }
22nd Jul 2017, 10:26 AM
Akash papnai
Akash papnai - avatar