Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C PROGRAMMING C PROGRAMMING 2 of 4 Laboratory Exercises 1. Practice with functions that do not pass any arguments 1.1 Write a program named my

image text in transcribed

C PROGRAMMING

C PROGRAMMING

2 of 4 Laboratory Exercises 1. Practice with functions that do not pass any arguments 1.1 Write a program named "my initials.c' at prints your first and last initials (using the letters to form the characters) in the order selected by the user. So, if your first and last initials are, JF, and the user selects the order, first ast, your program would print JJ FF Your program must call two functions: one that prints out your first initial, and a second function that prints out your last initial. Your program does not need to request from the user arbitrary character input defining the initials (in other words, you can 'hard code' in the print statements for your particular in but it needs to get input from the user to determine the order that the two characters are printed. Include your code and evidence that it works in your report. A suggested strategy for developing your program is to first develop the printfo statement(s) that prints your first initial and another that prints your last initial. These will form the core of the two functions your program will call. Once you are satisfied that the lines of code for printing the initials are satisfactory, incorporate them into two functions. Include pseudocode or a flowchart to show the logic of your program in your report. It may help to use grid paper to figure out how to amange the printing ofthe characters to fom the letters. 2. Practice with functions that pass arguments 137.61% v

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

Data Management Databases And Organizations

Authors: Richard T. Watson

6th Edition

1943153035, 978-1943153039

More Books

Students also viewed these Databases questions

Question

Describe Table Structures in RDMSs.

Answered: 1 week ago