Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a program to determine which of three letters comes first in alphabetical order. Assume that the user properly enters three lower-case letters. Program Requirements:

image text in transcribed
Write a program to determine which of three letters comes first in alphabetical order. Assume that the user properly enters three lower-case letters. Program Requirements: - Prompt the user to enter three lower-case letters from the keyboard. - Determine which character comes first in alphabetical order. - Output the character to the screen. Sample program output: Enter three lower-case letters: a c f The letter that comes first in alphabetical order is a. Enter three lower-case letters: kgn The letter that comes first in alphabetical order is g. Enter three lower-case letters: z yx The letter that comes first in alphabetical order is x. Assignment Requirements: - Write the program in the text editor of your choice. - Upload the C file to Zeus using an SFTP client (e.g. FileZilla). - Log into Zeus using an SSH client (e.g. PowerShell, PuTTy, or the terminal window). - Compile the program using the following command: gcc -o where is the name of the executable file that will be created by GCC, and is the name of the C file that is being compiled. - Test the program on Zeus. - If necessary, make changes to your program (in the text editor), upload the corrected C file to Zeus, recompile using GCC, and test your program again. - Repeat until you have a working program. Your program must work on Zeus. If it does not, you will not get credit for it. Submit your C source file as part of your homework solutions

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

Database Management An Organizational Perspective

Authors: Richard T. Watson

1st Edition

0471305340, 978-0471305347

More Books

Students also viewed these Databases questions