You are on page 1of 2

Programming Fundamentals LAB

Assignment # 01
Please read the following instructions carefully before submitting the assignment.

It should be clear that your assignment will not get any credit if the assignment is copied (partial
or full) from any source (websites, forums, students etc.).

Question 01: Write some code to produce the following outputs using escape sequences.
i.
Hello
World!
Hello World!
“Hello World!”
HellWorld!

ii.
A = 10 B=5
A + B = 15
A–B=5
A * B = 50
A/B=2

iii.
1
1 2
1 2 3
1 2 3 4
1 2 3 4 5

iv.
1 2 3 4 5
1 2 3 4
1 2 3
1 2
1
v.
@@@@@@@@@
@@@@@@@
@@@@@
@@@
@

vi.
@
@@@
@@@@@
@@@@@@@
@@@@@@@@@
@@@@@@@
@@@@@
@@@
@

vii.
***---University Management System---***

1. Add Student
2. Update Student
3. Delete Student

You might also like