Answer:
#include <iostream>
using namespace std;
int main() {
int k;
double d;
string s;
cin >> k >> d >> s;
cout << s << " " << d << " " << k << "\n" << k << " " << d << " " << s; }
Explanation:
k is int type variable that stores integer values.
d is double type variable that stores real number.
s is string type variable that stores word.
cin statement is used to take input from user. cin takes an integer, a real number and a word from user. The user first enters an integer value, then a real number and then a small word as input.
cout statement is used to display the output on the screen. cout displays the value of k, d and s which entered by user.
First the values of k, d and s are displayed in reverse order. This means the word is displayed first, then the real number and then the integer separated again by EXACTLY one space from each other. " " used to represent a single space.
Then next line \n is used to produce a new line.
So in the next line values of k, d and s are displayed in original order (the integer , the real, and the word), separated again by EXACTLY one space from each other.
The program along with the output is attached.
Answer:
Answers in explanation. Try to ask one question at a time, it is easier for people to answer single questions and you will get answers faster.
Explanation:
15. A
16. D
17. B + C
18. A+B+D
19. B+C+D
**20. is NOT Planned personal leave for documentation developers and proof readers. The other 4 answers are correct
21. Presentation notes + Outline
22.B
23.D (im not entirely sure about this one)
import math
print(math.pow(8, 0.5))
You can find the square root of any number by squaring it by 0.5
I would say a calculator.