Assignment: Arduino Code
Write the pseudo code using a loop function to fulfill the requirements. If you use outside resources you must cite your work in IEEE format.
Loop functions:
Do While
If /If Else If
For
Each function must be used at least once.
1. Jeans co is a trendy colorful jean company. Whenever a customer buys one of their 5 jean colors the register lights up to match the color of the jean. Help them implement the light changes.
2. Jean co sent out a special coupon which gives the first 25 customers 50% off their order. Help them implement the coupon.
3. Star would like to make a system that allows a user to enter a number between 1 and 100. The system will then print out the numbers from the entered number to 100. For example if a user entered the number 95. The system would print out 95, 96, 97, 98, 99, 100. Help Star implement the system.
4. Star has a lemonade stand. The lemonade stand operates from 8 am to 8 pm. The lemonade is priced differently throughout the day based on demand. Below is the pricing schedule. Help Star implement the system.
8 am - $2.00
9 am - $2.00
10 am - $3.50
11 am - $ 4.00
12 am - $5.00
1 pm - $5.00
2 pm - $ 5.00
3 pm - $ 4.50
4 pm - $ 3.50
5 pm - $3.00
6 pm - $ 3.00
7 pm - $2.00
5. Draw the flow chart for one of the loop functions above. i.e. Draw the flow chart for the If/Else, Do While, For loop.
Format your assignment according to the following formatting requirements:
1. The answer should be typed, double spaced, using Times New Roman font (size 12), with one-inch margins on all sides.
2. The response also include a cover page containing the title of the assignment, the student's name, the course title, and the date. The cover page is not included in the required page length.
3. Also Include a reference page. The Citations and references should follow APA format. The reference page is not included in the required page length.