Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Array Reversal and Rectangle Calculations Lab, Exercises of Programming Languages

experiment of c programming language

Typology: Exercises

2018/2019

Uploaded on 10/20/2019

mirkan-balsever
mirkan-balsever 🇹🇷

5

(1)

1 document

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
14.05.2019
HACETTEPE UNIVERSITY
DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING
ELE-118 COMPUTERS AND PROGRAMMING II LABORATORY
EXPERIMENT-3
Q1) Write a program that takes five numbers from the user and puts them into an array. Then
it must reverse the array elements in a loop and print them as shown below,
Q2) Write a C program that computes the area and perimeter of a rectangle with using
pointers.
Hint :

Partial preview of the text

Download Array Reversal and Rectangle Calculations Lab and more Exercises Programming Languages in PDF only on Docsity!

HACETTEPE UNIVERSITY

DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING

ELE-118 COMPUTERS AND PROGRAMMING II LABORATORY

EXPERIMENT- 3

Q1) Write a program that takes five numbers from the user and puts them into an array. Then it must reverse the array elements in a loop and print them as shown below, Q2) Write a C program that computes the area and perimeter of a rectangle with using pointers. Hint :