Adding a functionality to program

I want to input a value and according to that program should add number of zeroes after 1
eg. if i input as 3
thn it should make 1000( three zeroes after 1)
'and if 4 then 10000 like this

There are various method to do so, one of the way is to take a loop and multiply the number with 10

input = 3;
num = 1;
for( int i=0; i<3; i++){
num = num*10;

another way is to take it in string and concatenate those many zeroes to it


simply use loops after printing 1
like :-
for(int i=1;i<=no_of_zeros;i++) cout<<0;

This will do the job perfectly