Menu

[solved]-Task 1 Instructions 1 Use Mbedorg Compiler Serial Class Complete Tasks Laboratory 2 Write Q38991558

help really new to coding and professor gave us this to do in C
Task #1 Instructions 1. You are to use the mbed.org compiler and the Serial” class to complete the tasks in this laboratory.Task #1 Instructions 1. You are to use the mbed.org compiler and the “Serial” class to complete the tasks in this laboratory. 2. You are to write a program which does the following. 3. Your program should prompt the user to enter their name, which should be stored as a string. 4. Your program should calculate the sum of all of the ASCII codes in the letters of their name. 5. Using some reasonable message, the user is to be told the sum of ASCII codes in their name. 6. The users should then be prompted for the month and day of their birthday, to be stored as integers. 7. The program should calculate the user’s lucky number as the remainder portion (a.k.a. modulo) of (sum of ASCII)/(month+day). 8. Using some reasonable message, the user is to be told their lucky number. Show transcribed image text Task #1 Instructions 1. You are to use the mbed.org compiler and the “Serial” class to complete the tasks in this laboratory. 2. You are to write a program which does the following. 3. Your program should prompt the user to enter their name, which should be stored as a string. 4. Your program should calculate the sum of all of the ASCII codes in the letters of their name. 5. Using some reasonable message, the user is to be told the sum of ASCII codes in their name. 6. The users should then be prompted for the month and day of their birthday, to be stored as integers. 7. The program should calculate the user’s lucky number as the remainder portion (a.k.a. modulo) of (sum of ASCII)/(month+day). 8. Using some reasonable message, the user is to be told their lucky number.

Expert Answer


Answer to Task #1 Instructions 1. You are to use the mbed.org compiler and the “Serial” class to complete the tasks in this labo… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *