Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Begin each program with a comment section which ntains the following: co //Program Name i.e, Assignment 3) //Author's Name //Class: ENGR 19700 /Due Date:(i.e., Wednesday,

image text in transcribed
Begin each program with a comment section which ntains the following: co //Program Name i.e, "Assignment 3") //Author's Name //Class: ENGR 19700 /Due Date:(i.e., Wednesday, September 12, 2018) //A description of what the program does. . In general, use lower case letters for variable names. Variable names should be mnemonic (i.e., somewhat intuitive). Separate words within a variable name with an underscore or begin the second word with an uppercase letter. Indent 2-4 spaces (optimally 4) within main. The editor should take care of proper indenting. Place no more than one C statement per line. Do not type more than 80 characters per line. Program 1. Write a C program that does the following a. Declare a string variable (char array) of size 10 (to store a string up to 9 characters plus a 10 at the end). Note: An array of size 10 will have indices of 0-9 b. Display a message to the user that this specific characters within a user-entered string. c. Ask the user to enter a string of 9 characters or less. d. Output the following: program print Character 0 is Character 4 is: Character 8 is: e program should compile without gracefully Th error and run Test with the input: Engineers For the submitted screen capture, run the program with the above value. (Feel free to try other values, but you don't have to submit those.)

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

Put Your Data To Work 52 Tips And Techniques For Effectively Managing Your Database

Authors: Wes Trochlil

1st Edition

0880343079, 978-0880343077

More Books

Students also viewed these Databases questions

Question

How do we organise for international logistics?

Answered: 1 week ago

Question

What are the logistics implications of internationalisation?

Answered: 1 week ago