Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

4 - Write a statement that declares a variable salePrice, that can hold decimal 5 - Write an assignment statement that subtracts discount Amount from

image text in transcribed
4 - Write a statement that declares a variable "salePrice", that can hold decimal 5 - Write an assignment statement that subtracts "discount Amount" from "price and assigns the value to the variable "salePrice": 6 - Write a statement that declares a variable "FirstName", that can hold text and characters: 7 - Write an assignment statement that assigns your first name to the variable "FirstName: B - Write a statement that declares a variable "test Number1', that can hold integer values: 9 - Write a statement that deelares a variable "test.Number2', that can hold integer values: 10 - Write a statement that declares a variable "test Number, that can hold integer values, and assign the literal value 15 to the variable (all in one statement): 11 - Write an assignment statement that assigns the literal value 10 to the variable "test Number2": 12 - Write an assignment statement that multiplies "test Number2" by "test Number)", and assigns the value to the variable "test Numberl" : 13 - Write an assignment statement that adds "test Number 1 to "test Number 3. and assigns the value to the variable "test Number2": 14 - Go back through the statements in questions 8 to 1). If these statements were evaluated, what would the value of the 4 - Write a statement that declares a variable "salePrice", that can hold decimal 5 - Write an assignment statement that subtracts "discount Amount" from "price and assigns the value to the variable "salePrice": 6 - Write a statement that declares a variable "FirstName", that can hold text and characters: 7 - Write an assignment statement that assigns your first name to the variable "FirstName: B - Write a statement that declares a variable "test Number1', that can hold integer values: 9 - Write a statement that deelares a variable "test.Number2', that can hold integer values: 10 - Write a statement that declares a variable "test Number, that can hold integer values, and assign the literal value 15 to the variable (all in one statement): 11 - Write an assignment statement that assigns the literal value 10 to the variable "test Number2": 12 - Write an assignment statement that multiplies "test Number2" by "test Number)", and assigns the value to the variable "test Numberl" : 13 - Write an assignment statement that adds "test Number 1 to "test Number 3. and assigns the value to the variable "test Number2": 14 - Go back through the statements in questions 8 to 1). If these statements were evaluated, what would the value of the

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

Databases And Python Programming MySQL MongoDB OOP And Tkinter

Authors: R. PANNEERSELVAM

1st Edition

9357011331, 978-9357011334

More Books

Students also viewed these Databases questions