Question: L 0 2 - T 1 : Basic data types, input, calculation, output L 0 2 - T 2 : Combination of character strings L
LT: Basic data types, input, calculation, output
LT: Combination of character strings
LT: Cuts and length of strings
LT: Integer, fixed value, calculation and print formatting
LT: Calculating the mean, formatting the printout, integer and rotation
Submission:
Submit LT to CodeGrade via Moodle before the deadline.
Note:
Try to use at least one comment in your code
Be especially careful with spaces so that your output follows the sample output. Note that
also each inputstring in the program ends with n The reason for this is that it makes the
output in CodeGrade more readable
If you see some "Code Structure Tests" hidden in CodeGrade but they are not mentioned in
the task description, you don't need to worry about them. They are just there to make sure the
code is ok
LT: Basic data types, input, calculation, output
Write a program that asks the user for hisher name, an integer, and a decimal number. The
program stores them in different variables whose names you can decide.
Raise the given decimal to the power of the given integer. Display the result as in the example
below using decimal places. End the program by thanking the user.
Example run :
Enter your name:
Robin
Enter an integer:
Enter a float:
Decimal to power is
Thank you for using the program, Robin!
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
