Answer:
hi,hi,hi,hi,hi,hi,hi,hi,hi,hi,hi,hi,hi
Answer:
Algorithm:
1. Declare an integer variable N.
2. Read the value N from user.
3.While(N):
3.1 find r=N%10;
3.2 print r in new line.
3.3 Update N as N=N/10.
4.end program.
Implementation in C++.
// header
#include <bits/stdc++.h>
using namespace std;
// main function
int main()
{
// variable
int N;
cout<<"Enter an Integer:";
cin>>N;
// find the digits of number
while(N)
{
// last digit
int r=N%10;
// print last digit
cout<<r<<endl;
// update the number
N=N/10;
}
return 0;
}
Output:
Enter an Integer:329
9
2
3
Answer:
The answer is "Option a"
Explanation:
Range-based for loop performs a sequence for a loop. It's more accessible as the conventional loop, for example, all components in the array, running more than a range of possibilities. In the given question "option a" is correct because it follows the correct syntax and other choices were wrong, which can be described as follows:
- In option b, It's not correct, because in this code the range declaration is wrong.
- In option c, It is wrong, because in this code the datatype is missing.
- In option d, It is illegal syntax, that's why it is wrong.
<u><em> </em></u>Answer:
1) Press Ctrl + Alt + Del
2) Click the power button in the bottom-right corner of the screen.
3) From the desktop, press Alt + F4 to get the Shut Down Windows screen.
and that's how to shut down your computer
<u><em></em></u>
<u><em>Please mark as brainliest if answer is right</em></u>
Have a great day, be safe and healthy
Thank u
XD
Rand.int(your_num , your_num