Professional Documents
Culture Documents
Assinment No 2 Ali Husnain (230601)
Assinment No 2 Ali Husnain (230601)
EXPERIMENT NO
Lab Title
_ LAB ASSESSMENT:
Code:screenshot
QNO 2: Prompt the user to enter an integer between o and 30000.display the
separate digits at the output e.g., if the user enters 2378.
Output: 2 3 7 8
Hint: (keep dividing by the ten until all the digits are extracted)
Code:
Q NO3: Prompt the user to enter three values. sort the values in
increasing order and display the 0utput.
Code: