Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a C program that prints a banner with a logo of your own creation. The banner must print to the terminal as a rectangle

Create a C program that prints a banner with a logo of your own creation.
The banner must print to the terminal as a rectangle fourteen lines by forty columns
The program must only use the printf() function to print characters to the screen
The first line of the banner must include your name and the last four digits of your student ID Leave out any leading zeros in your last four digits Use an int type variable to hold the value of the student ID
Use a %d format tag to pass the variable to the printf() function
Beware of using the backslash character as part the string that you print.
The backslash is used to "escape" non-printable characters.
Beware of using the percent character as part the string that you print.
The percent character is used to define format specifiers for variables passed to printf().
The program must use stdio.h, but no other header files may be included
All statements must be in the main function. No other functions should be in the program
The main function should be declared to return an int data type and it should return a value of zero when it is done.
The top of the file should include a comment section with:
Name
Date
Assignment #
Course information
image text in transcribed

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

Advances In Databases And Information Systems 22nd European Conference Adbis 2018 Budapest Hungary September 2 5 2018 Proceedings Lncs 11019

Authors: Andras Benczur ,Bernhard Thalheim ,Tomas Horvath

1st Edition

3319983970, 978-3319983974

More Books

Students also viewed these Databases questions

Question

Define Administration and Management

Answered: 1 week ago

Question

Define organisational structure

Answered: 1 week ago

Question

Define line and staff authority

Answered: 1 week ago