123456789101112131415161718192021
#include<iostream> using namespace std; void checking(int i) { for (i=0;i<=1000;i++) { cout<<"this is the range:"<<i<<endl; cout<<"this programme sucks"; } } int main() { int i; i=0; checking(i); cout<<i<<endl; return 0; }