Don't like this style? Click here to change it! blue.css

Lab 1: Two Beginner Programs

The TA has generated a TOKEN for this lab. Go ahead and use repl.it to make two programs. For each program, save the file, and note the URL.

When you are done with both programs send ONE email to your_udel_user_name@ds.prof.ninja with subject equal to the TOKEN, and body should look like:

  
    1) URL_OF_PROGRAM_1
    2) URL_OF_PROGRAM_2
  

Program 1

Write a C++ program which asks the user for their birthday in the form yyyy/mm/dd. Then print to the screen an output which looks like this:

  
Day of Birth: ##
Month of Birth: ##
Year of Birth: ####
  

Program 2

Write a C++ program which takes in three numbers a,b,c and displays the value of \(a^2 + b^2 - c^2\).