You are on page 1of 1

Unit 2 - Activity 1.

Create a complete C++ program for the following


problems based on the discussed lessons and given sample programs.
A. Asking/getting and printing the following: (using your own information as user input then
print) Filename: SurnameInfo.cpp
Example Output:
Juan P. Dela Cruz
Bachelor of Science in Mathematics Major in AS
January 1, 2000
143 Bahay St., Baranggay, Municipality of Province
My motto in life is hdfgjshfgkhfgkj.

B. Asking/getting and printing the following: (using your own information as user input then
print) Filename: FamilyInfo.cpp
Example Output:
Father Age Occupation
Mother Age Occupation
Sibling Age Occupation/Year Level
Sibling Age Occupation/Year Level
Sibling Age Occupation/Year Level
Sibling Age Occupation/Year Level

Note: Submit the codes in pdf file form with the final output of the program.
Filename: Surname Unit2Act1.pdf

Example:
Code:

Final Output:

FOR STUDENTS WITHOUT CODEBLOCKS

You may use w3cschools site in testing some parts of your program. But it is advisable to
download CODEBlocks in your Computer/Laptop.

You might also like