NALLAMUTHU GOUNDER MAHALINGAM COLLEGE
POLLACHI-642001
R.Rasigapriya
Bsc Computer Science(Ist Year)
11.To Print Zero
#include <iostream>
int main()
{
int num1,num2;
std::cout<<"Enter the two numbers";
std::cin>>num1>>num2;
for(int
i=0;i<=num1;i++){
for(int
j=0;j<=i;j++){
std::cout<<num1%num2;
}
}
}
OUTPUT: