Assignment - Set 1 (12 Marks) - Submit by 15/12/2020 12:00 PM
Assignment - Set 1 (12 Marks) - Submit by 15/12/2020 12:00 PM
ID : Name: Section :
Question 1: Draw a flow chart and Write a program to print the following series up to n terms by
using for loop. [4]
Question 2: Write a program to display the odd numbers between X and Y by using while loop. [4]
Question 3: Write a program using switch to input a letter (L) and and number of cars(C). The
program will do the following according the value of L and displays it as shown below. ( 4 marks)
Letter(L) Action
a or A Increase the number of cars by
30 and display