1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Alex_Xolod [135]
4 years ago
7

Outputting all combinations. Output all combinations of character variables a, b, and c using this ordering abc acb bac bca cab

cba.
If a = 'x', b = 'y', and c = 'z', then the output is: xyz xzy yxz yzx zxy zyx
Your code will be tested in three different programs, with a, b, c assigned with 'x', 'y', 'z', then with '#', '$', '%', then with '1', '2', '3'.

#include
using namespace std;
int main()
{
char a; char b; char c;
cin >> a; cin >> b; cin >> c;
/* Your solution goes here */
cout << endl;
return 0;
}
Computers and Technology
1 answer:
Alina [70]4 years ago
5 0

Answer:

#include<iostream>

using namespace std;

 

int main()

{

   char a;  

   char b;  

   char c;

cin >> a;  

cin >> b;  

cin >> c;

 cout<<a<<b<<c<<endl;

 cout<<a<<c<<b<<endl;

 cout<<b<<a<<c<<endl;

 cout<<b<<c<<a<<endl;

 cout<<c<<a<<b<<endl;

 cout<<c<<b<<a<<endl;

 

cout << endl;

}

Explanation:

Note: code is hard coded it does not contain any logic based coding

You might be interested in
What type of security software prevents, detects, and removes malware that tries to collect personal information or change compu
Lesechka [4]
Antivirus? I think is the correct answer
4 0
3 years ago
The _______ is a connection of computers and networks built into common, everyday devices.
crimeas [40]

Answer:

B. Internet of things.

Explanation:

Internet of things (IOT) is an interconnection of everyday devices through the internet to allow the device send and receive data. It is used for remote connections in offices, homes and industries to achieve various activities like switching of the power status, regulating device operation etc, in the absence of a physical operator.

BYOD or bring your device to work is a situation where members of an organisation connect and use their personal devices in the company's private network.

7 0
4 years ago
Q) CITY column of a table contains information such as Bangalore , Bangalore-64 , Bangalore-56001 , Mumbai - 400002 etc in order
saw5 [17]
Data splitting:::::::::::)
7 0
4 years ago
Give two benifets to the supermarket maneger and two benifets of customers of using barcods on all items
sergey [27]

Answer:

The benefit of barcodes on items for the manager and the customers are as follow-

Explanation:

Benefits of using bar codes on all items to the manger are as follow -

  • The process of customer dealing increases by quickly scanning the item, rather than manually noting down the details.
  • The track record of all the items can be maintained properly.

Benefits of using bar codes on all items to the customers are as follow -

  • The time period to purchase any item increases, hence the customer can shop for many items in short span of time.
  • The chances of any mistake gets reduced, as everything is done digitally.
5 0
3 years ago
Which of the following statements regarding EFT is false? EFT still requires the endorsement of a check EFT allows payment to be
hammer [34]

A smart way of moving money from one personal banking account directly to another account is called EFT or electric fund transfer. There is a maximum clearance time of 24 hours for transfer.  The most widely-used program is Direct Deposit, in which payroll is deposited straight into an employee's bank account initiated through an electronic terminal, including credit card, Therefore, the following<span> statement regarding EFT is false?</span>

<span>1.                  </span><span>EFT still requires the endorsement of a check </span>

3 0
3 years ago
Other questions:
  • Suggest how the following requirements might be rewritten in a quantitative way. You may use any metrics you like to express the
    7·1 answer
  • A type of font that has a decorative tail is A.Serif font B. Sans serif font C. Bubbles font D. Reading font
    7·1 answer
  • A junior network administrator has used the wrong cable type to connect his/her computer to the administrative port on a router
    7·1 answer
  • The ________ is the heart of the operating system and controls its most critical processes.
    9·1 answer
  • The continue statement _________.
    11·1 answer
  • Which function works best when you need to remove an element at a pacific index and a list
    15·1 answer
  • Complete function PrintPopcornTime(), with int parameter bagOunces, and void return type. If bagOunces is less than 2, print "To
    5·1 answer
  • Bullet points on a slide should be limited to _____.<br><br> A. 2<br> B. 4<br> C. 8<br> D. 10
    7·1 answer
  • create your own min function that finds the minimum element in a list and use it in a separate function
    14·1 answer
  • Distinguish between secondary storage device and primary storage device
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!