Question: Need help to finish BOTH problems for my c for engineers class. Using code blocks. Thanks for helping Chapter 08 Program Exercises 1) PE 08

 Need help to finish BOTH problems for my c for engineers Need help to finish BOTH problems for my c for engineers class. Using code blocks. Thanks for helping

Chapter 08 Program Exercises 1) PE 08 01 (Strings in Uppercase and Lowercase) Define a string literal with char array original[s0] and type any (acceptable) text you prefer in the string. Using only a for loop, copy the original string into a new string. Output the copied string in all uppercase characters, then all lowercase characters. Bonus(+5) Output the string using a random technique that you create to choose how to display each character (uppercase or lowercase). 2) PE 08 02 (Strings to Number Conversions) Prompt the user to enter three integers and three floating-point values between -1000 and 1000. Use a single string to read each integer data entry as a string, then convert the string to the proper data type. Display the sum and product of the three integers to the screen. Use a single string to read each floating-point data entry as a string, then convert the string to the proper data type. Display the sum and product of the floating-point numbers to the screen. Use as few variables as possible. (a) We have discussed several vulnerabilities to reading input strings- add a comment in your program that explains how a string can be used as an enhanced security measure to read input. (The comments will be graded) 3) PE 08 03 (ASCII Character Set) Write a program that displays the character and integer values of the ASCII Character Set from 33 to 126. Your program should include a loop that starts at 33, increments by one and ends at 126, Use the printf conversion specifiers %c and %d for characters and decimal integers, respectively. Display exactly five columns in a neat tabular format as illustrated below Page 2 13Q+

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!