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:
The correct option is option C.
Explanation:
As the referential integrity constraint between the CLIENT and AGENT so the CLIENT will have 7 records while AGENT will have 3 records.
Option A is not correct that CLIENT will have 7 records but AGENT will not have 4 records
Option B is not correct that CLIENT will not have 6 records but AGENT will have 3 records
Option C is correct that CLIENT will have 7 records but AGENT will have 3 records
Option D is not correct that CLIENT will not have 6 records but AGENT will not have 4 records
A field identified in a record as holding the unique identifier for that record is called the; key field
<h3>What is a key field in computer?</h3>
A field in computer is a record that holds unique data which identifies that record from all the other records in the file or database
Finally, the correct answer is a key field because it is a field in a record of a data table that contains unique data and separates that record from all other records in the database.
Typical key fields include account number, product code and customer name.
Read more about key field at; brainly.com/question/14577288
#SPJ12
Answer:
WAN ( Wide Area Network )
Explanation:
WAN ( Wide Area Network ) -
It refers to the type of network , which is capable to cover a large geographical area , is referred to as WAN .
The WAN can very easily connect , various LANs ( Local area network ) and MANs ( Metro area network ) .
The method of WAN , makes the process of communication very easy and convenient , where the users are far apart .
Hence , from the given information of the question ,
The correct answer is WAN .