![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 17.09.2021 06:20 ash3246
2.2 Problem 2 - Warm up: Basic output with variables
This zyLab activity prepares a student for a full programming assignment. Warm up exercises are typically simpler and worth fewer points than a full programming assignment, and are well-suited for an in-person scheduled lab meeting or as self-practice.
A variable like userNum can store a value like an integer. Extend the given program to print userNum values as indicated. (Submit for 2 points).
(1) Output the user's input.
Note: This zyLab outputs a newline after each user-input prompt. For convenience in the examples below, the user's input value is shown on the next line, but such values don't actually appear as output when the program runs.
Enter integer:
4
You entered: 4
(2) Extend to output the input squared and cubed. Hint: Compute squared as userNum * userNum. (Submit for 2 points, so 4 points total).
![ansver](/tpl/images/cats/User.png)
Answers: 2
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 16:30
Technician a says that a dry sump system uses no oil storage sump under the engine. technician b says that a wet sump system uses no oil storage sump under the engine. who is correct?
Answers: 3
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 18:00
Suppose an astronomer discovers a large, spherical-shaped body orbiting the sun. the body is composed mostly of rock, and there are no other bodies sharing its orbit. what is the best way to categorize this body? a. planet b. moon c. comet d. asteroid
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 22:30
What is the most popular genre of video games?
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 07:30
What key should you press and hold to select and open multiple files at one time? enter alt control esc
Answers: 1
You know the right answer?
2.2 Problem 2 - Warm up: Basic output with variables
This zyLab activity prepares a student for a...
Questions
![question](/tpl/images/cats/mat.png)
Mathematics, 05.02.2021 17:20
![question](/tpl/images/cats/mat.png)
Mathematics, 05.02.2021 17:20
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 05.02.2021 17:20
![question](/tpl/images/cats/mat.png)
Mathematics, 05.02.2021 17:20
![question](/tpl/images/cats/himiya.png)
Chemistry, 05.02.2021 17:20
![question](/tpl/images/cats/fizika.png)
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 05.02.2021 17:20
![question](/tpl/images/cats/mat.png)
Mathematics, 05.02.2021 17:20
![question](/tpl/images/cats/himiya.png)
Chemistry, 05.02.2021 17:20
![question](/tpl/images/cats/istoriya.png)
History, 05.02.2021 17:20
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 05.02.2021 17:20
![question](/tpl/images/cats/mat.png)
Mathematics, 05.02.2021 17:30
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 05.02.2021 17:30
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 05.02.2021 17:30