#include <iostream>
      using namespace std;
      int main() {
          int T;
          int N;
          cin>>T;
          for(int i=0;i<T;i++){
              cin>>N;
              cout<<N*10<<"\n";
          }
      	// your code goes here
      	return 0;
      }
      

      Python language logo
      NoteBook

      beginner
      logic

      To calculate the number of notebooks according to the problem statement. Problem Statement:

      1 kg of the pulp can be used to make 1000 pages and 1 notebook consists of 100 pages. Suppose a notebook factory receives N kg of pulp, how many notebooks can be made from that?

      input: first input the number of test cases and in the next line enter the amount of pulp given in KG for that test case.

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.