Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I NEED HELP WRITING THIS iN PEUSDOCODE PLEASE Selection Structures Assignment Outcomes By completing this assignment, students will be able to: 1) Structure programs to

I NEED HELP WRITING THIS iN PEUSDOCODE PLEASE

image text in transcribed

image text in transcribed

Selection Structures Assignment Outcomes By completing this assignment, students will be able to: 1) Structure programs to include conditional logic 2) Write code that includes iflelse statements 3) Design programs that leverage switch/case logic 4) Solve problems of increasing complexity NOTE: Assignment 3 should utilize only the following topics: Variables, Assignment, Input/Output and Selection Structures. Program 1 (warm up): Mentos Protection Plan . It's famously known that Mentos (the Fresh Maker), when mixed with Diet Coke, produces a fairly intense explosion of foam (you can find endless videos on YouTube). For this program, you will write a meal checker that asks the user for what they plan on eating and what they plan on drinking. If the user types in "mentos" for their food and "dietcake for their drink, you must warn them of their impending doom! Your task is to design (pseudocode) and implement (source code). See appendix for checking string equality. Sample run 1: Enter your food: tofu Enter your drink: tea Panda, you are free to eat! Enter your food: mentos Enter your drinkt tea Panda, you are free to eat! Sample run 3 Enter your food: mentos Enter your drink: dietcake Don't do it! You won't live! Program 2: Seasons calculator. For this assignment, you should ask the user for a day and a month, then determine what season it is based on that input. You must use a switch statement to help solve this problem in addition to other things you've learned) to solve this problem. Note the first days of each season: March 19h - Spring June 20-Summer September 22nd - Fall December 21. Winter Sample run 1: Enter a month: 7 Enter a day: 13 It is summer! Page 1 of 3 Program 3: Graduate Admissions. When applying for graduate school, you have to submit your undergraduate transcripts (to show GPA), letters of recommendation, and sometimes a GRE score (or Graduate Record Examinations). Often, international students also have submit an IELTS score (Intl English Language Testing System, which ranges from 0-9). Many of our graduate programs require a minimum GPA of 2.75 and, for certain international students, a 6.5 IELTS score. However, lower scores are considered if the GPA is above 3.0 and the medium of instruction was English for their undergraduate degree. Your task is to design (pseudocode) and implement (source code). Sample run 1: Enter your GPA: 3.5 Are you an international student? N You've been accepted! Sample run 2: Enter your GPA: 2.5 Are you an international student? N Thank you for your application. REJECTED! Sample run 3: Enter your GPA: 3.1 Are you an international student? Y Enter your IELTS score: 6.6 You've been accepted! Sample run 4: Enter your GPA: 2.9 Are you an international student? Y Enter your IELTS score: 6.1 Was your undergraduate taught in English? Y Thank you for your application. REJECTED! Sample run 5: Enter your GPA: 3.4 Are you an international student? Y Enter your IELTS score: 6.0 Was your undergraduate taught in English? Y You've been accepted

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions