1. Exercise: Even or Odd? Write a program that reads an integer from the user. Then your program should display a message indicating whether the integer is even or odd. 2. Exercise: Vowel or Consonant Write a VB net a program that reads a letter of the alphabet from the user. If the user enters a, e, i, o or u then your program should display a message indicating that the entered letter is a vowel. If the user enters y then your program should display a message indicating that sometimes y is a vowel, and sometimes y is a consonant. Otherwise your program should display a message indicating that the letter is a consonant. 3. Exercise: Name that Shape Write a VB net program that determines the name of a shape from its number of sides. Read the number of sides from the user and then report the appropriate name. Your program should support shapes with anywhere from 3 up to (and including) 10 sides. If a number of sides outside of this range is entered then your program should display an appropriate error message. 4. Exercise : Month Name to Number of Days Write a VB.Net program that reads the name of a month from the user as a string. Then the program should display the number of days in that month. Display “28 or 29 days” for February. January 31,February (28 or 29), March 31, April 30, May 31, June 30, July 31, August 31, September 30, October 31, November 30, December 31
المادة المعروضة اعلاه هي مدخل الى المحاضرة المرفوعة بواسطة استاذ(ة) المادة . وقد تبدو لك غير متكاملة . حيث يضع استاذ المادة في بعض الاحيان فقط الجزء الاول من المحاضرة من اجل الاطلاع على ما ستقوم بتحميله لاحقا . في نظام التعليم الالكتروني نوفر هذه الخدمة لكي نبقيك على اطلاع حول محتوى الملف الذي ستقوم بتحميله .
|