Posts

Showing posts from December, 2012

Programming Assignment for XIB-CS Students

List of Programs for the Session     2012 - 2013 Subject: Computer Science (083)    Class: XI FLOW OF CONTROL(use if, if-else , if-else-if,   while, do-while,for,switch-case,continue,break,exit) 1.        Write a program to print the mathematical table of numbers 1 to 10. (Generalize it to display the table of numbers lying in a given range – between 30 and 50.) 2.        Write a program to find the factorial value of a number entered by the user and also display the maximum number that is   allowed in the present execution environment/platform. Make provision to handle negative integers and floating numbers. 3.        Write a program to check whether the number is prime or not. 4.        Write a program to display co-prime pairs lying in a specified range of natural numbers. Note : m and n are said to be co-pr...