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: Input a number. Find all the factors of that number and store them in stack. Input a string and reverse it using stack. Input a number and check whether all the digits of that number are unique or not. Input a number. Starting from to that number find all the prime numbers. 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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
