Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need help 1.12 LAB: Warm up: Basic output with variables This zy ab activity probares a student for a fue prooramming assignment Warm io

I need help
image text in transcribed
image text in transcribed
1.12 LAB: Warm up: Basic output with variables This zy ab activity probares a student for a fue prooramming assignment Warm io exercises are bypicaly simpler and worth fowner points than a ful pogramming assignment, and are we sulted for an inperson scheotued lab meeting or as sed oractice A variable the uber num can store a value like an integer. Extend the gien program as indicated 1. Output the users ingut (2 pts) 2. Output the input squared and cuted Hent Compute iquared as uspi num o usec num (2 pts) 3 cer a second iser input into user num2, and output the sum and peoduct. (1) pt) Note This ay ab oupuis a newint atfer each userinput prompt For converience in the examples begux the users input natue is shown on the neat ine but such valies dont actually apoedr at outour when the arogain runs: inter incegorr You interest 4 arinted in 16 the next ine bue such vasued donit actually appear as output when the program runs. Enter integor: You enteredt 4 4 suared is 16 And 4 cubed is 64 . H Fenter ansther intinjer: 4+5iny45in20

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Is the person willing to deal with the consequences?

Answered: 1 week ago

Question

Was there an effort to involve the appropriate people?

Answered: 1 week ago