Answer:
here is code in C++.
#include <bits/stdc++.h>
using namespace std;
// function to alphabetize the input string
void alphabetize(string &str)
{
// find the length of string
int n=str.size();
for(int x=0;x<n;x++){
for(int y=x+1;y<n;y++)
{
//swap the character
if(str[x]>str[y]){
char ch=str[x];
str[x]=str[y];
str[y]=ch;
}
}
}
cout<<"alphabetize string is: "<<str<<endl;;
}
int main()
{// string variable to read input
string inp;
cout<<"Please Enter a String in lowercase :";
//reading the input
cin>>inp;
// call function with inp argument
alphabetize(inp);
return 0;
}
Explanation:
Declare a variable "inp" of string type and assign the input string to it. call the alphabetize() function with argument "inp".In the alphabetize(),find the length of input string.Then travers the string and if a character is greater than any next character in the string then swap it, so that all the character are sorted.
Output:
Please Enter a String in lowercase :helloworld
alphabetize string is: dehllloorw
Answer:
According to the requirements of users of the system, RAID 10 is more suitable option.
Explanation:
As mentioned previous server is running RAID 5, Which takes a lot of time to manage parity while reading or writing data.
On the other end RAID 10 is the combination of RAID 1 and RAID 0, It has the the features of both system.
According to the users requirement, unscheduled downtime or data loss can cannot be tolerated. So RAID 10 has the ability to access the data from multiple disks. If one disk i down, required data can be gathered from other disks.
It creates multiple duplicates of data, so risk to lose data has also been reduced.
<em>In both aspects, RAID 10 is better than RAID 5, so he choose RAID 10 for up gradation.</em>
Answer:
can anyone help me in computer please
Pattern recognition is part of "Machine Learning" which is a computer science concept of teaching the program to adapt.
What kind of pattern are you looking to recognise? Do you want to code it yourself? What language are you programming in?
Desktop databases offer simple, flexible solutions for data storage and retrieval. They're often quite sufficient to meet uncomplicated database requirements for both small and large organizations. If you're not sure if a desktop database is right for you, try reading the Choosing a Databaseseries of articles which covers both desktop and server databases in depth.