CP Model
CP Model
c) Write a C program that takes input from the user and counts the number of
uppercase and lowercase letters, as well as the number of other characters.
Roll No 2,12,22,32,42,52
a) C program to find the sum of n numbers using array
b) C Program To Find The Largest of Three numbers
Roll No 3,13,23,33,43,53
a) C Program to print the prime numbers between 10 and 100.( Make use of
break statement)
b) C program to perform binary search
Roll No 4,14,24,34,44,54
a) C program to pint all values between 1 and n except the multiples of 3.(Make
use of continue statements)
b) C Program To Find The Largest of Two Numbers Using Ternary Operator
Roll No 5,15,25,35,45,55
Roll No 6,16,26,36,46,56
Roll No 7, 17,27,37,47,57
b) Write a program to input a string and return the string by moving all the
occurrences of the letter ‘x’ contained in the string to the end.
Roll No 8,18,28,38,48,58
b) Write a Program to sort First half of an array in Ascending order and the
Second in Descending order
Roll No 9,19,29,39,49,59
Input:
10
20
Output:
75
Roll No 10,20,30,40,50,60
a) Write a program to copy one existing file into another named file
b) C Program to Check Whether a Number is Positive, Negative, or Zero
c) Write a C program to find the majority element in a list of numbers