0_0_38698962_8649.cpp: In function 'int main()':
0_0_38698962_8649.cpp:9:24: error: expected ';' before 'int'
9 | cin>>s1
| ^
| ;
10 | int a=0,n,sum=0;
| ~~~
0_0_38698962_8649.cpp:11:17: error: 'n' was not declared in this scope
11 | n=s1.length();
| ^
0_0_38698962_8649.cpp:17:25: error: 'a' was not declared in this scope
17 | a*=10;
| ^
0_0_38698962_8649.cpp:20:23: error: 'a' was not declared in this scope
20 | while(a!=1){
| ^
0_0_38698962_8649.cpp:22:25: error: 'sum' was not declared in this scope
22 | sum++;
| ^~~
0_0_38698962_8649.cpp:24:20: error: 'sum' was not declared in this scope
24 | if(sum>5){
| ^~~
0_0_38698962_8649.cpp:28:23: error: 'sum' was not declared in this scope
28 | cout<<sum<<"\n";
| ^~~
|