Asked by Patricia
A Bagels store charges 75 cents per bagel for orders of less than a half-dozen bagels and 60 cents per bagel for orders of a half-dozen or more. Assume that the number of bagels ordered has been stored in a variable named NumBagels. Write VB code that calculates and stores the total cost in a variable named Cost. Make sure to declare all variables used.
Answers
Answered by
Patricia
for Visual basic 2012 programming by the way
Answered by
Patricia
Write a Boolean valued Function that takes two student grades and returns True if the average is greater than or equal to 90 and False otherwise. Write a VB statement that calls the function and displays in a MessageBox whether or not the student grade is an A average.
There are no AI answers yet. The ability to request AI answers is coming soon!
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.