Thread: please please help me

  1. #1
    Registered User
    Join Date
    Nov 2010

    please please help me

    Exercise 1: Write a complete program to read a string of characters from the standard input and insert them in the stack. Print the size of the stack when you are done after the stack is filled out. Then, print out to the screen all the vowels in reverse order.
    Use classes and functions to do the above program.

    Exercise 2: Write a program that takes marks of 10 students and store them in the stack then take out these from the stack and print the average of all the marks of 10 students.
    Hint : make sure that every time you do a push operation you should check if the stack is not full and in pop operation you should check if the stack is not empty.

  2. #2
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Help you what? Cheat on your homework? Be careful how you respond, as it will determine whether or not I close this thread.
    My best code is written with the delete key.

Popular pages Recent additions subscribe to a feed