I need help with my Programming Logic and Design class!!! But I have no idea how
ID: 3737599 • Letter: I
Question
I need help with my Programming Logic and Design class!!! But I have no idea how to do this. My teacher does not want any language that is used in Python or any of these kind of stuff.
-> Chapter 6 Project X CSecure https/stchas.instructure.com/courses/16797/assignments/2778797module item_id-671003 St. Charles CPT-165-40-18/SP> Assignments> Chapter 6 Project 2018 Spring Home Grades People Modules Chapter 6 Project Submit Assignment Due Sunday by 11:59pm Points 100 Submitting a file upload Available Mar 22 at 1pm - Mar 25 at 11:59pm 3 days Directions: Use Microsoft Word .Save your file (word document) as Lastname Firstname Chapter6 Project. The Lastname and Firstame are your Lastname and your Firstname Write the pseudo code in modules for the following questions: Q1) Design the logic of a program that allows a user to enter 12 numbers, then displays them in reverse order. Use arrays to store numbers. Q2) Design the logic of a program that allows a user to enter 12 numbers then displays the largest number. Use arrays to store numbers. (50 POINTS) o (5OPOINTS) o Upload the document Previous Next 9:33 PM O Type here to search POR 3/25/2018Explanation / Answer
Open word document and save the file as Lastname_Firstname_Chapter6_Project
Q1)
Pseudocode that allows user to enter 12 numbers and then
Print the numbers in reverse order.
Begin:
Initialize the index=0
Set a constant ,SIZE=12
Declare an array called as numbers[SIZE]
Loop
Prompt for number
Read in numbers[index]
increment the index by 1
End While index >=SIZE
Output "Reverse order of array"
Start index=SIZE-1
Loop
Output numbers[index]
Decrement the index by 1
End While index <0
Stop
----------------------------------------------------------------------------------
Q2)
Pseudocode that allows user to enter 12 numbers and then
find the largest number from array.
Begin:
Initialize the index=0
Declare largestNum
Set a constant ,SIZE=12
Declare an array called as numbers[SIZE]
Loop
Prompt for number
Read in numbers[index]
increment the index by 1
End While index >=SIZE
Set index=0
Assume and start largestNum=numbers[0]
Loop
If numbers[index] is greater than largestNum
Set largestNum=numbers[index]
increment the index by 1
End While index >SIZE
Output "Largest Number ",largestNum
Stop
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.