Question
Write a program that will request the user to enter the name of the 4 digit NACA airfoil in the following format NACA XXXX, and
Write a program that will request the user to enter the name of the 4 digit NACA airfoil in the following format NACA XXXX, and output a plot of the airfoil shape with the title of the airfoil at the top. The user must input NACA ####. This must be error checked. The string input must consist of the letters NACA in all upper case in the first four elements, a space in the fifth element, and then four numbers in the last four elements. The first two numbers must both equal 0 or both be any digit between 1 and 5, including both 1 and 5 (example of some valid inputs: 00, 12, 55, 42)(example of some invalid inputs: 01, 10, 16, 30). The last two numbers must consist of two digits and be a whole number between 05 and 25
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started