Chat with us, powered by LiveChat 4 parts of the assignment: Part 1: Check out the lecture notes?and read chapter 6 of the text book before - Wridemy

4 parts of the assignment: Part 1: Check out the lecture notes?and read chapter 6 of the text book before

4 parts of the assignment:

Part 1: Check out the lecture notes and read chapter 6 of the text book before attempting these problems (see attachment)

1) Write a program that prompts the user for a number, tests to see whether that number is even or odd and prints out "Number is Even" if it is even, or "Number is Odd" if it is odd.

Hint: An even number is one that is dividable by 2 and has no remainder! Look up the % operator.

Part 2: 2) Write a program that stores your name in a variable. Then ask the user to guess your name. If heshe guesses right, display the message "Well done, good guess work!", otherwise display the message "Try again next time!" and just exit the program at that point (we'll see how to loop, i.e. keep on asking the user for names till heshe gets the right one, next week!).

Part 3: Modify the question above so that you keep on asking the user for names till heshe gets it right! So heshe has to guess your name right BEFORE you exit the program. Use a while loop.

Part 4:Write a program that asks the user for 5 numbers, using a for loop and one input function call inside that for loop. Sum the numbers as you are getting them from the user, then display the sum and average to the user at the end.

Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of HIGH QUALITY & PLAGIARISM FREE. To make an Order you only need to click Ask A Question and we will direct you to our Order Page at WriteDemy. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.

Fill in all the assignment paper details that are required in the order form with the standard information being the page count, deadline, academic level and type of paper. It is advisable to have this information at hand so that you can quickly fill in the necessary information needed in the form for the essay writer to be immediately assigned to your writing project. Make payment for the custom essay order to enable us to assign a suitable writer to your order. Payments are made through Paypal on a secured billing page. Finally, sit back and relax.

Do you need an answer to this or any other questions?