diff --git a/Shobhit403/DAY 90 b/Shobhit403/DAY 90 new file mode 100644 index 000000000..9974ad397 --- /dev/null +++ b/Shobhit403/DAY 90 @@ -0,0 +1,47 @@ +#include +using namespace std; +int main() +{ + int t; + cin>>t; + while(t>0) + { + int n; + cin>>n; + string str; + int count=0; + for(int j=0;j>str1; + if(j==0) + { + str=str1; + } + else + { + for(int i=0;i<10;i++) + { + if((str[i]=='1')&&(str1[i]=='1')) + { + str[i]='0'; + } + else if((str1[i]=='1')&&(str[i]=='0')) + { + str[i]='1'; + } + } + } + } + for(int i=0;i<10;i++) + { + if(str[i]=='1') + { + count++; + } + } + cout<