Results 1 to 11 of 11

Need Help With Some Basic Exercises in VBA

Threaded View

  1. #1
    Registered User
    Join Date
    06-11-2012
    Location
    Poland
    MS-Off Ver
    Excel 2010
    Posts
    8

    Need Help With Some Basic Exercises in VBA

    Hello friends,I'm new at VBA programming and I have some exercises to be done.They are some basic and it is enough it just works.

    EXERCISE 1
    Write a program that asks the user to type all the integers between 8 and 23 (both included) using a for loop.
    EXERCISE 2
    Write a program that asks the user to type an integer N and computes the sum of the cubes from 53 to N3.
    EXERCISE 3
    Write a program that asks the user to type a positive integer. When the user types a negative value the program writes ERROR and asks for another value. When the user types 0, that means that the last value has been typed and the program must write the average of the positive integers. If the number of typed values is zero the program writes 'NO AVERAGE'.

    Thank you for your helps.
    Last edited by dirtysword; 06-11-2012 at 09:01 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1