Big Problems With Various Questions
Hi,
I'm COMPLETELY confused over my assignment for this week.
We have ten questions.
1. Change a user input string from lowercase to uppercase.
2. Turn a user input string from string to ASCII code.
3. Take a user input string and change lowercase to uppercase and uppercase to lowercase.
4. Take two user input strings and test to see if they are equal, if not have program print second first and first second.
5. Get a user input three digit integer and print it first as a three digit number and then print the characters i.e. input 123, you input 123, the characters you input were 1, 2, 3
6. Put first 1000 prime numbers in an array and print each 15th number.
7. Using only putchar and loops print
*
**
***
****
*****
******
*******
*********
**********
8. Same as above except, take user input size for width and height and print diamond, i.e. user inputs 9 then height and width must be 9
I haven't put anything here as per homework done as quite simply I've been unable to do anything. My question is not, obviously, for you to write anything for me as I haven't done anything yet. Its just can anyone recommend where I can find how to do this as my lecturer neglected to tell us how to do ANY of this stuff in his lecture.
Websites, books, journals, YouTube tutorials anything. PLEASE! Otherwise I'll just end up submitting nothing (which I'm starting to think is what he wants - i.e. students to drop out so he doesn't have to do as much work).