0% found this document useful (0 votes)
2 views1 page

Lab 1

Uploaded by

Minh Đức
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views1 page

Lab 1

Uploaded by

Minh Đức
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

========================================================================

INSTRUCTIONS - PRACTICAL EXAM - PRF192


- PLEASE READ BEFORE STARTING YOUR EXAM
Software Requirements
● Codeblocks 17.12 or Dev C++ (4.9.9.2 or 5.11) on Windows 7 and above.
Instructions
● Step :
o For each question (e.g., question 1), please create two sub-folders: run and src.
o Copy *.exe file into run folder, *.c file into src folder.

o
● Compress the two files run and src into solution.zip file
Notes
● Solutions will be marked by Automated Marking Software.
(1 mark, file to be edited: Q1.c)
Write a program that allows the user to enter dividend called a. The program must calculate the
quotient and the remainder of a divided by 2.
Sample
Below is an example of how the program will run:
Sample 1
Input Output
Please enter any integer: 9 The quotient of 9 divided by 2 is 4
The remainder of 9 divided by 2 is 1

You might also like