subject

Both the hot dog price and sales tax rate may contain decimal amounts, so they should be declared as type double constants. in visual basic, a constant is denoted by the keyword const. by convention, constant names are usually written in all upper case, with underscores to separate words. you also have to assign the value to a constant at the time you declare it (because, by definition, the value of a constant cannot be changed).

for example, the declaration of a constant double representing an delivery charge rate of 3.5% could look like this in visual basic:

const dbl_delivery_charge_rate as double = 0.035
write statements to declare and initializing constants for:

a sales tax rate of 7%: [type your answer here]

the price of a dronedogs hot dog at $1.99: [type your answer here]

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 06:30
To become an audio technician, the most successful tactics might include the following. (select all that apply). learning how to persuade other people gaining different types of experience in audio technology learning as much as possible about art history establishing a reputation as a reliable professional
Answers: 1
question
Computers and Technology, 23.06.2019 17:10
Ac++an of of pi. in , pi is by : pi = 4 – 4/3 + 4/5 – 4/7 + 4/9 - 4/11 + 4/13 - 4/15 + 4/17 . ., to pi (9 ). , if 5 to pi,be as : pi = 4 - 4/3 + 4/5 - 4/7 + 4/9 = 4 – 1. + 0.8 - 0. + 0. = 3.. atoofbe to pi?
Answers: 2
question
Computers and Technology, 24.06.2019 12:00
Match the function to its purpose. fast worth 50pts.
Answers: 1
question
Computers and Technology, 24.06.2019 16:30
Which program can damage your computer?
Answers: 1
You know the right answer?
Both the hot dog price and sales tax rate may contain decimal amounts, so they should be declared as...
Questions
question
Mathematics, 01.02.2021 16:40
question
Mathematics, 01.02.2021 16:40
Questions on the website: 13722360