Here are the instructions 1. Define the enumerated data type Lang which has the
ID: 3622454 • Letter: H
Question
Here are the instructions1. Define the enumerated data type Lang which has the types ASL, English, Brail, French, German, Italian, Spanish
2. Output all of the numbers associated with each type next to the description: ie. 0 is ASL
3. Create a variable to hold a Lang and assign it a language value.
4. Compare the value to three of these values and show the result of relational operation to the output screen.
I am using Dev C++ so pls make sure the code runs and compiles. Lifesaver given if answer is correct and neat.
Explanation / Answer
#include using namespace std; int main(){ enum Languages {ASL, English, Brail, French, German, Italian, Spanish}; coutRelated Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.