Assignment # 2: Programming Fundamentals 20 Shehzad Latif 23 January, 2019 BSCS-1 Semester Hu-Skp & Euro
Assignment # 2: Programming Fundamentals 20 Shehzad Latif 23 January, 2019 BSCS-1 Semester Hu-Skp & Euro
Question No. 1: Write a program to calculate the product of even integer’s b/w 75 – 95
using for loop.
Question No. 2: Write a program to calculate the factorial of 5! & 6! using while loop.
Questions No. 3: Write a program to divide the product of odd integers b/w 35 -50 with
the product of factorials of 5 & 6 using do-while loop.
Questions No.4: What is switch statement? Find grades of students using switch
statement by calculating their percentages.