Filename: Surname _MP7.m Objectives Use correct data types to handle input data. Implement input validation. Design and implement appropriate selection statement. Validate user input. Compile and address syntax and logic errors. Problem Statement "The Twelve Days of Christmas" is a cumulative song, meaning that each verse is built on top of the previous verses. There are twelve verses, each describing a gift given by "my true love" on one of the twelve days of Christmas....and so forth, until the last verse: 2 3 5 9 1 2 6 Geese-a-Laying 5 Gold Rings 4 Colly Birds 3 French Hens¹7] 2 Turtle Doves And a Partridge in a Pear Tree. IL Create a program that accepts a number in range 1-12 and display the corresponding verse of the song "The Twelve Days of Christmas. ". Validate user input and display appropriate message. 3 4 6 5 10 7 Criteria 8 11 12 On the twelfth day of Christmas, my true love gave to me.. 12 Drummers Drumming 11 Pipers Piping 10 Lords-a-Leaping 9 Ladies Dancing 8 Maids-a-Milking 7 Swans-a-Swimming Score Sheet Output displays : Student Number - SN, FN,MI at the top center of the screen Intelligent naming of variables and program comments Solution validates user input and displays appropriate message Solution displays output at the center of the user screen Solution displays correct output values 10 20 10 10 50 Total 100 Score □10000
Filename: Surname _MP7.m Objectives Use correct data types to handle input data. Implement input validation. Design and implement appropriate selection statement. Validate user input. Compile and address syntax and logic errors. Problem Statement "The Twelve Days of Christmas" is a cumulative song, meaning that each verse is built on top of the previous verses. There are twelve verses, each describing a gift given by "my true love" on one of the twelve days of Christmas....and so forth, until the last verse: 2 3 5 9 1 2 6 Geese-a-Laying 5 Gold Rings 4 Colly Birds 3 French Hens¹7] 2 Turtle Doves And a Partridge in a Pear Tree. IL Create a program that accepts a number in range 1-12 and display the corresponding verse of the song "The Twelve Days of Christmas. ". Validate user input and display appropriate message. 3 4 6 5 10 7 Criteria 8 11 12 On the twelfth day of Christmas, my true love gave to me.. 12 Drummers Drumming 11 Pipers Piping 10 Lords-a-Leaping 9 Ladies Dancing 8 Maids-a-Milking 7 Swans-a-Swimming Score Sheet Output displays : Student Number - SN, FN,MI at the top center of the screen Intelligent naming of variables and program comments Solution validates user input and displays appropriate message Solution displays output at the center of the user screen Solution displays correct output values 10 20 10 10 50 Total 100 Score □10000
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
100%
This is a task that needs to be done in matlab
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education