Question: PART II: Lab Excercises On the desktop, create a folder named Lab 1 . Exercise 1 - Printing a Statement as a Pattern Exercise Objectives

PART II: Lab Excercises
On the desktop, create a folder named Lab1.
Exercise 1- Printing a Statement as a Pattern
Exercise Objectives
Using simple output statements
Problem Description
Inside "Lab1" folder, create a project named "Lab1Ex1". Use this project to write and run a C program that produces the output shown in the sample below (using only the techniques you learnt so far).
Sample Output
Exercise 2- Volume of Cylinder
Exercise Objectives
Using simple input and output statements
Using arithmetic operators
Using comments
Problem Description
Inside "Lab1" folder, create a project named "Lab1Ex2".
Add your name and your University ID as a comment in the top of your source program file.
B Use this project to develop a C program that asks a user to input a circle's Radius (r), and use these numbers to compute and print the circumference of the circle, which is computed using the following equation, where )=(3.14 :
C=2r
r
Radius
Enter value
Sample Output
Enter the radius of circumference:
3.5
C=21.98
Exercise 3-Division by 5 and Remainder
Exercise Objectives
Using simple input and output statements
Using arithmetic operators
Problem Description
Inside "Lab1" folder, create a project named "Lab1Ex3". Use this project to develop a C program that performs the following:
Reads in a 2-digit integer.
Prints the result of dividing the number by 3 and the remainder of division by 3 as shown in the sample output.
Sample Output
Enter an integer consists of 2-digits: 17
173=5
reminder is 2
 PART II: Lab Excercises On the desktop, create a folder named

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!