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
aleksklad [387]
3 years ago
12

(9.10 Code Practice: Question 1)

Computers and Technology
1 answer:
V125BC [204]3 years ago
5 0

Answer:

#include <iostream>  

#include <string>

using namespace std;  

int main() {

 string wOne, wTwo, temp;

 cout << "Enter a word:";

 cin >> wOne;

 cout << "Enter a word:";

 cin >> wTwo;

 

 temp = wOne;

 wOne = wTwo;

 wTwo = temp;

 cout << wOne << endl;

 cout << wTwo << endl;

 

}

You might be interested in
Three common risk factors for young drivers and how you plan to minimize these factors.
djverab [1.8K]

Answer: making a simple mistake which ends in someone getting hit or close to being hit like not turning on your signal light

going too fast which makes it more difficult to make turns properly

if the car is a manual trying to start on a hill and rolling backwards into a car

Drivers ed and practicing in a parking lot or something or the sort

Explanation:

7 0
3 years ago
While browsing through the mall, you are given samples of the latest perfumes from different designers. This is an example of wh
Firdavs [7]
The answer is A. Brand contact.
8 0
3 years ago
Imagine that you wanted to write a program that asks the user to enter in 5 grade values. The user may or may not enter valid gr
OLEGan [10]

Answer:

B. A "while" loop inside of a "for" loop

Explanation:

To enter 5 grade values, a for loop can be used to specify the number of grade values to be entered by the user, in other to ensure the validity of the grade values entered by the user, the while loop will be used inside the for loop such that the inputted values will only be accepted when the user enters a valid grade.

Code structure :

For a in range(0, 5) :

grade = input()

while grade (enter condition)

This is just the code structure and this will work for the problem stated.

5 0
3 years ago
What does aperture control? A)amount of light the image sensor captures when taking a photo. B)how sensitive the camera is to in
My name is Ann [436]

Answer:

How sensitive the camera is to incoming light.

Explanation:

8 0
3 years ago
Read 2 more answers
Will give Brainiest and stuff to right answer[s].
Aneli [31]
#22 is 1s and 0s, hope that helps a little bit
6 0
3 years ago
Read 2 more answers
Other questions:
  • A name given to a spot in memory is called:
    5·1 answer
  • THE DOMAIN IN AN EMAIL MESSAGE TELLS YOU THE
    11·1 answer
  • Each computer or device on a network is called a(n) ______.
    7·1 answer
  • What is an activity that can help you enhance the appearance of your computer’s desktop?
    13·1 answer
  • Study the images of two different fronts.
    7·2 answers
  • Use the drop-down menus to complete the statements about message marking, categorizing, and flagging.
    13·2 answers
  • What is 36 Denary in Binary?? PLEASE ANSWER I WILL GIVE U BRAINLY!!
    9·2 answers
  • Convert the given for loop to while loop and find the output of the program assuming the
    14·1 answer
  • Match the ernerging technologies to their descriptions.
    14·1 answer
  • Why does my roku tv keep disconnecting from the internet.
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!