if the productCost and productprice are numeric variables and productName is a string variable, which of the following statements are vaild assignments? if a statement is not vaild, explain why not productCost    =   100 productPrice   =   productCost productPrice  =  productName productPrice   =  "24.95" 15.67   =   productCost productCost   =   $1,345.52 productCost   =  productPrice-10 productName  =  "Mouse pad" productCost+20   =  productPrice productName   =  3-inch nails productName   =  43 productName   =  "44" "99"  =   productName productName   =  brush battery   =   productName productName  =  productPrice productName = productCost

Programming with Microsoft Visual Basic 2017
8th Edition
ISBN:9781337102124
Author:Diane Zak
Publisher:Diane Zak
Chapter10: Classes And Objects
Section: Chapter Questions
Problem 3MQ2
icon
Related questions
Question

if the productCost and productprice are numeric variables and productName is a string variable, which of the following statements are vaild assignments? if a statement is not vaild, explain why not

  • productCost    =   100
  • productPrice   =   productCost
  • productPrice  =  productName
  • productPrice   =  "24.95"
  • 15.67   =   productCost
  • productCost   =   $1,345.52
  • productCost   =  productPrice-10
  • productName  =  "Mouse pad"
  • productCost+20   =  productPrice
  • productName   =  3-inch nails
  • productName   =  43
  • productName   =  "44"
  • "99"  =   productName
  • productName   =  brush
  • battery   =   productName
  • productName  =  productPrice
  • productName = productCost
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Data Binding
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning