Write a program with visual basic
Not what you're looking for?
Write a function called numWeeks that takes an integer parameter representing a number of days and returns an integer that is the number of whole weeks in that number of days. For example, if the parameter was 25, the function would return 3, because there are three whole weeks in 25 days. If the parameter is 0 or negative, the function should return 0; you should check for this with an if statement.
Purchase this Solution
Solution Summary
This solution helps with writing a program with visual basic.
Solution Preview
Function numWeeks(ByVal numDays As Integer) As Integer
Dim count, ret ...
Purchase this Solution
Free BrainMass Quizzes
Word 2010: Table of Contents
Ever wondered where a Table of Contents in a Word document comes from? Maybe you need a refresher on the topic? This quiz will remind you of the keywords and options used when working with a T.O.C. in Word 2010.
Javscript Basics
Quiz on basics of javascript programming language.
Basic Computer Terms
We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.
Inserting and deleting in a linked list
This quiz tests your understanding of how to insert and delete elements in a linked list. Understanding of the use of linked lists, and the related performance aspects, is an important fundamental skill of computer science data structures.
C# variables and classes
This quiz contains questions about C# classes and variables.