Subject: Programming Fundamentals(PF) Submit to: Sir Nadeem
Submitted by: Haris Zafar
Task 1: Write a program to swap value of two variables without using third variable.
Task 2: Write a program which accepts days as integer and display total number of years, months and days in it.
Task 3: Write a program in C++ to compute quotient and remainder.
Task 4: Write a program in C++ to verify that the entered number is EVEN or ODD by using ternary operator. Output should like.
ODD
Even
Task 5: Write a program to swap value of three variables without using fourth variable.
Task 6: Write a program which accept temperature in centigrade and print it in Fahrenheit.
Task 7: Write a program which accept temperature in kelvin and print it in centigrade.