You are on page 1of 4

Saifullah FA20-BCS-077 Section-B21-B

Q1: make the following hierarchy using CLI

/home

OS LAB LAB3

registration
Registration.txt
Change the user & group owner of registration.txt

Move ‘your registration.txt’ to OS directory

Q2: write a C/C++ program that take your name, registration-NO. three integers and find maximum
number from these three no using command line arguments

Question 1:
Creating directories OS, LAB, LAB3
Saifullah FA20-BCS-077 Section-B21-B

Moving registration.txt to OS

Changing the user & group owner of ‘registration.txt’


Saifullah FA20-BCS-077 Section-B21-B

Question #2:
Creating CPP files

CPP code
Saifullah FA20-BCS-077 Section-B21-B

Compiling CPP CODE

Reference link
https://www.programiz.com/cpp-programming/examples/largest-number-
among-three

You might also like