Homework 3 : Introduce Yourself
!Nice to meet you!
LEVEL 1
It is recommended to understand everything in
Hello World!
,Variables
,Printf
before attempting this level
Add a print statement below such that GPA
and year
are printed.
Example Output
LEVEL 2
It is recommended to understand everything in
Hello World!
,Variables
,Printf
,Scanf
before attempting this level
This time you are required to implement an interactive program. The program should ask for your current GPA and current year, save the information into the corresponding variables, then print the variables on a new line.
Example Output
What is your GPA:
and What is your year:
should be printed by your program.
Reminder
You can make the program based on the first
Introduce Yourself
.scanf
reads the console input and save the information to variables
ZINC Submission
ONLY submit your LEVEL 2 code to ZINC.
Last updated