Question: Every question in this assignment needs to defined as a void function (e.g. void 01 (void)). All the functions must be placed along with the
Every question in this assignment needs to defined as a void function (e.g. void 01 (void)). All the functions must be placed along with the main function in a single C source file, and submitted through Canvas. (50 points deduction for not following this format) Your program should start with a comment indicating the assignment number, your authorship, and date of submission. (40 points deductions for not having the relevant comments) Your source code is to be uploaded to Canvas using Your Name Assignment2.c format. (Any other form of submission file is not accepted, and a grade of zero would be assigned.) 1. Write a program that produces the following output: 20 points) Smile! Smile! Smile! Smile! Smile! Smile! The program should define a function that displays Smile! once, and use the function as often as needed. In this problem, you would be calling the function that prints Smile! within the function 010). 2. Write a program that sounds a beep, and then prints the following text: (10 points) So excited that she shouted, "What a wonderful day full of sweets, flowers, and love! Wishing you all the best this Valentine's Day." 3. Write a program that calls a function named one_three (). This function should display the word one on one line, call the function two (), and then display the word three on one line. The function two() should display the word two on one line. The Q30) function should display the phrase starting now: before calling one_three () and display donel after calling it. Thus, the output should look like the following: 25 points) starting now: one two three done
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
