Question: Home work: 1 . Input a number. Find all the factors of that number and store them in stack. 2 . Input a string and

Home work: 1. Input a number. Find all the factors of that number and store them in stack. 2. Input a string and reverse it using stack. 3. Input a number and check whether all the digits of that number are unique or not. 4. Input a number. Starting from 1 to that number find all the prime numbers. 5. Write a program that lets the user type some text, consisting of words separated by blanks, ending with a carriage return, and displays the text in the same word order as entered, but with the letters in each word reversed. For example, "this is a test" becomes "siht si a tset".

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!