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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 08:30, mai1261
Helen's credit card has an apr of 15.32% and a grace period of 17 days and helen pays her balance in the full every month. if her last billing cycle ended on september 26, 2009, and she made her payment on october 11, 2009, did she owe any interest on her last statement's balance?
Answers: 3
image
Computers and Technology, 24.06.2019 15:30, lakenyagillard79
Python. primary u. s. interstate highways are numbered 1-99. odd numbers (like the 5 or 95) go north/south, and evens (like the 10 or 90) go east/west. auxiliary highways are numbered 100-999, and service the primary highway indicated by the rightmost two digits. thus, the 405 services the 5, and the 290 services the 90. given a highway number, indicate whether it is a primary or auxiliary highway. if auxiliary, indicate what primary highway it serves. also indicate if the (primary) highway runs north/south or east/west.
Answers: 1
image
Computers and Technology, 24.06.2019 17:00, harlon852
The length of time that a slide appears before automatically advancing to the next slide can be set in the timing group under the transitions tab. transition to this slide group under the transitions tab. timing group in the master slide view. transition to this slide group in the master slide view.
Answers: 1
image
Computers and Technology, 25.06.2019 00:30, aleiahmartin
Which email writing etiquette should ariel follow to let people know that she received their message? a. reply to their messages immediately b. use formal language c. specify the email's intent in the subject field d. be direct when writing the reply
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 in other subjects:

Konu
Mathematics, 29.04.2021 23:10
Konu
Mathematics, 29.04.2021 23:10
Konu
Mathematics, 29.04.2021 23:10