Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Need to finish programs 1 and 2 for my c for engineers class, using code blocks Chapter 08 Program Exercises 1) PE 08 01 (Strings

image text in transcribed Need to finish programs 1 and 2 for my c for engineers class, using code blocks
Chapter 08 Program Exercises 1) PE 08 01 (Strings in Uppercase and Lowercase) Define a string literal with char array original[se] 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 Ch values of the ASCII Ch the character and integer hould include a loop that Page So2o1 33 t0 12 Qpro+ version specifiers Xc and I PracticeHw.06.pdf 06.pat PracticeHw 05.pdf 10 MacBook Air

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Murach's SQL Server 2012 For Developers

Authors: Bryan Syverson, Joel Murach, Mike Murach

1st Edition

1890774693, 9781890774691

More Books

Students also viewed these Databases questions

Question

How many Tables Will Base HCMSs typically have? Why?

Answered: 1 week ago

Question

What is the process of normalization?

Answered: 1 week ago