Answer:
The answer to this question is given below in the explanation section.
Explanation:
This program is written in C++.
#include <iostream>
using namespace std;
int main()
{
string word;// variable for taking user input
int cond;// to set condition true if user preses the stop and exit from loop
cout<<"Enter word: \n";
cin>>word;
do// start while loop
{
if(word=="stop" || word =="STOP" || word == "Stop")// if user enter word stop, then program exit
{
cond=0;
}
else//otherwise loop continue
{
cout<<" You Entered "+ word +"\n";
cout<<"Enter word: \n";
cin>>word;
cond=1;
}
}
while(cond == 1);// if user don't enter word "stop" loop run continuesly.
cout<<"Program exit";
return 0;
}
It should be noted that the hardware component that keeps data and information when the device is not powered is called a storage device.
This device can be permanent or temporary storage device.
<h3>What is a storage device?</h3>
Storage device can be regarded as the device that store data.
There are different storage devices for the computer system, they includes;
- Optical Storage Devices.
- External HDDs
- Random Access Memory
- Flash memory devices.
- Floppy Disks.
Learn more about storage device at ;
brainly.com/question/21283135
Answer:
bhai sahab kya question hai mujhe samajh mein hi nahin per Sara sale Kya Re Tu Hi Sab Kuchh Nahin
Answer:
It is bit { measurement used to quantify computer data. }
25 SQUARES
How this is calculated?
- The size of the squares doesn't matter, since the number of squares will be the same.
- We have a row of 5 squares: and on top of this you stack 5 more squares.
- Doing this for a total of 5 times so that we have 5 rows with 5 squares each.
- So we have 5 + 5 + 5 + 5 + 5 = 25 squares.
What is an array?
- An array is a data structure that holds similar, related data.
- Before an array can be used, it must be declared. To declare an array a programmer gives it at least two properties:
- an identifier
- a size - the number of elements it will hold
To know more about arrays, refer:
brainly.com/question/26104158
#SPJ4