Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write the codes and draw the flow chart for these problem. 1.Please only use if flow control, write a program to ask the user to

Write the codes and draw the flow chart for these problem. 

1.Please only use “if” flow control, write a program to ask the user to input his/her letter
grade (A,B,C,D,F), and
If input “A”, show “Excellent!”;
If input “B”, show “Well Done!”;
If input “C”, show “Keep Working Hard and You Should Do Better Next Time!”;
If input “D” and “F”, show “Please Don’t Give Up!”;
If input other letters, show “Invalid grade, please try later.”


2. Please use “if ... else” ladder flow control, write a program to ask the user to input
his/her letter grade (A,B,C,D,F), and
If input “A”, show “Excellent!”;
If input “B”, show “Well Done!”;
If input “C”, show “Keep Working Hard and You Should Do Better Next Time!”;
If input “D” and “F”, show “Please Don’t Give Up!”;
If input other letters, show “Invalid grade, please try later.”

Step by Step Solution

3.51 Rating (154 Votes )

There are 3 Steps involved in it

Step: 1

Sure lets start with the first problem and create a Python code for it python grade inputPlease ente... 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

Recommended Textbook for

Java An Introduction To Problem Solving And Programming

Authors: Walter Savitch

8th Edition

0134462033, 978-0134462035

More Books

Students also viewed these Computer Network questions