My issue
My code
// The code below is incorrect. Debug the code to solve the problem
#include <bits/stdc++.h>
using namespace std;
int main()
{
int t;
cin>>t;
while(t--)
{
int X,N;
int p = X/10;
int score = p * N;
cout<<score<<endl;
}
return 0;
}
Learning course: C++ for problem solving - 1
Problem Link: CodeChef: Practical coding for everyone