Von neuman loves binary

Unable to take input for four times

Basically take a variable suppose k, which represents no of test cases and take its input from user, and another variable as a no, and then use ,
while( k>0)
{
cin>>no;
to_decimal(no);
k–;
}

1 Like