The document contains two programming questions for a midterm exam in CS 110. The first question asks to print a pattern of asterisks increasing in number on each line. The second question asks to write functions to calculate nCr and nPr combinations and permutations given an input value of n from the user, including the formulas for each.
The document contains two programming questions for a midterm exam in CS 110. The first question asks to print a pattern of asterisks increasing in number on each line. The second question asks to write functions to calculate nCr and nPr combinations and permutations given an input value of n from the user, including the formulas for each.
The document contains two programming questions for a midterm exam in CS 110. The first question asks to print a pattern of asterisks increasing in number on each line. The second question asks to write functions to calculate nCr and nPr combinations and permutations given an input value of n from the user, including the formulas for each.
Tshri Vile Parle Kelvani Mandal'S D. J. Sanghvi College of Engineering Department of Information Technology Semester: Iii Subject: Java Programming Lab
Tshri Vile Parle Kelvani Mandal'S D. J. Sanghvi College of Engineering Department of Information Technology Semester: Iii Subject: Java Programming Lab