Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

( 1 ) Write a C program that prints out the following center - aligned paragraph: This is a C - Programming course. In this

(1) Write a C program that prints out the following center-aligned paragraph:
This is a C-Programming course.
In this course, we study the basic C-programming,
followed by Arduino programming. My name is **********.
I was born on **/**/****. My w number is w*******. In this
chapter, we are learning how to read and print numbers. We also
learn how to read two integers and how to add them together
and print out the results of the computations.
I am enjoying this course.
Print out the paragraph as shown above. Put your name in *********.
Scan your w number and the date of birth from the keyboard and print them in the right places above, for which you may define and use the following integer variables: w_number, birth_day, birth_month, and birth_year. Do not use your real birthdates.
(2) Study Fig. 2.5.c, in which do not worry about the address part at the end. Write a C program which scans 2 integers and computes addition, subtraction, multiplication, and division. Print the results. Note that division by 0 will result in a fatal error.
In your program, you have to start with a title section that includes Title, Short Description, Author, and Due Dates.
Compile and run the two C programs. Turn in paper copies of the programs (20 points each) and the results of execution (10 points each) after correcting all the compile (syntax) errors in your program

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 Systems Design Implementation And Management

Authors: Peter Rob, Carlos Coronel

6th International Edition

061921323X, 978-0619213237

More Books

Students also viewed these Databases questions