You are on page 1of 1

Assignments:

1. Understand and implement the lottery simulation.

Hint: If a person plays a lottery for one year...your program has to calculate the total loss and
profit.

Every day allow him to play for 10 times. For each win he/she has to to get Rs. 1000/-
otherwise Rs. 100/- has to be deducted from his/her account.

2. Understand what Pangram strings are and implement a program to display YES, if the given string
contains all the letters of Alphabets. Otherwise display NO

An example of a pangram is: "The quick brown fox jumps over the lazy dog".

You might also like