Subject: Programming Fundamentals(PF) Submit to: Sir Nadeem
Submitted by: Haris Zafar
Task 1: Make a program to select from 5 drinks(Apple juice, Mango juice, Sprit, Water and Tea) and print an error message(“Error, choice was not valid, here is your money back”) if drink is not selected from above choices.
Task 2: Using arithmetic operator write a program that inputs two integers from a user and find if second is a divisor of first integer.
Task 3: Input two integers and find if they are equal, unequal, smaller or greater to each other.
Task 4(a):Write a program in C++ using loops to print even numbers from 1 to 100.
Task 4(b):Write a program in C++ using for loop to print below pattern: