Answer:
There are two ways to print 1 to 1000
- Using Loops.
- Using Recursion.
Explanation:
Using loops
for(int i=1;i<=1000;i++)
{
cout<<i<<" ";
}
Using recursion
Remember you can implement recursion using a function only.
void print(int n)
{
if(n==0)
return;
print(n-1);
cout<<n<<" "';
}
you should pass 1000 as an argument to the function print.
Answer:
Linux directories and their purposes are:
1) lib - Lib file contained the share object library file which necessary to boots system and this directory contain file module stored in the kernel.
2) etc - etc file is the configuration file that they are local in the machines. When the program run these file are stored in the directories. this can be static and do not executable directory.
3) Boot - Boot file are stored in the directory which required processing of linux boot and such files are included in the linux kernel of the file.
4) Root - Root file are the best user root directory and user cannot view this directories from there account. This file usually contain administrative file system.
5) Home - Home file contained the user directory and it is the default system of linux. Home directory helps user to enable any network system to access there home directories.
I don’t understand please speak English
They are called the navigation keys
These duties and taxes are charged on imported cars in order to incentivize the people to purchase vehicles built in the home county instead.