Answer:
Micro controller or MCU (Microcontroller Unit)
Explanation:
Micro Controller Unit is basically a computer on a chip with all components fabricated onto it. It is the core component of a computer.
A Micro Controller has:
- Central Processing Unit CPU
- Random access memory RAM
- Read-only memory ROM
- I/O peripherals
- Timers
- Serial COM ports
all fabricated on a single chip so that it may be connected via buses for providing the desired functionality.
<h3>I hope it will help you!</h3>
Answer:
//Here is the for loop in C.
for(n=10;n>0;n--)
{
printf("count =%d \n",n);
}
Explanation:
Since C is a procedural programming language.Here if a loop that starts with n=10; It will run till n becomes 0. When n reaches to 0 then loop terminates otherwise it print the count of n.
// here is code in C++.
#include <bits/stdc++.h>
using namespace std;
// main function
int main()
{ // variables
int n;
// for loop that runs 10 times
// when n==0 then loop terminates
for(n=10;n>0;n--)
{
cout<<"count ="<<n<<endl;
}
return 0;
}
Output:
count =10
count =9
count =8
count =7
count =6
count =5
count =4
count =3
count =2
count =1