Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
2Activity
0 of .
Results for:
No results containing your search query
P. 1
Cprogram

Cprogram

Ratings: (0)|Views: 18|Likes:
Published by sdchodna66

More info:

Published by: sdchodna66 on Oct 09, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

09/24/2013

pdf

text

original

 
Programming lab(C)
1
Created by Krishna Pal 
RCC INSTITUTE OF INFORMATION TECHNOLOGY 
 
ASSIGNMENT 
 S
 
ON
PROGRAMMING LAB(C)
 
DONE BY
 
HAREKRISHNA PAL
ROLL: 
06
 DEPERTMENT: MCAYEAR: FIRSTSEMESTER: 1
st
 GROUP: 1PAPER CODE: MCA193
 
Programming lab(C)
2
Created by Krishna Pal 
CONTENTS
 
Sl.No.Assignment NamesDate of CommencementDate of SubmissionTeacher’sSignature
1.Enter radius of a circle and find thearea and circumference.
 ___.___.2010 ___.___.2010
2. Find the largest of three numbers.
 ___.___.2010 ___.___.2010
3.Enter a number and check whether it isodd or even.
 ___.___.2010 ___.___.2010
4.Write a programme to find the roots of aQuadratic Equation.
 ___.___.2010 ___.___.2010
5.Write a programme to find the sum ofnatural numbers from 1 to a givennumbers.
 ___.___.2010 ___.___.2010
6.Write a programme to find the factorial ofa number.
 ___.___.2010 ___.___.2010
7.Write a programme to print the primenumbers from 1 to a given numbers.
 ___.___.2010 ___.___.2010
8.Write a programme to print the perfectnumbers from 1 to a given numbers.
 ___.___.2010 ___.___.2010
9.Write a programme to print the Fibonacciseries: 1,1,2,3,5,8,13,..........N
 ___.___.2010 ___.___.2010
10.Write a programme to enter somenumbers and find how many of them areodd/even and find the average of oddand even numbers.
 ___.___.2010 ___.___.2010
11.Enter some numbers and find themaximum and minimum without array.
 ___.___.2010 ___.___.2010
12Write a programme to find the L.C.M.and H.C.F of two given numbers.
 ___.___.2010 ___.___.2010
13.Write a programme to find the GCDusing iteration and recursions function.
 ___.___.2010 ___.___.2010
14.Write a programme to accept a numbernd check whether it is Armstrong or not.
 ___.___.2010 ___.___.2010
15.To find the sum of the digits of a givennumber.
 ___.___.2010 ___.___.2010
16.To print the palindrome numbers from100 to 1000.
 ___.___.2010 ___.___.2010
17. S= 1 + X + X^3 + X^5 + .............N.
 ___.___.2010 ___.___.2010
18.S= 1 + (1 + 2) + (1 + 2 + 3) + .........N.
 ___.___.2010 ___.___.2010
19.S= 1+ 2/2! + 3/3! + 4/4! +......N.
 ___.___.2010 ___.___.2010
20. S= 1 + X + X^2 + X^3/3! + X^4/4! +.......N
 ___.___.2010 ___.___.2010
 
Programming lab(C)
3
Created by Krishna Pal 
Sl.No.Assignment NamesDate of CommencementDate of SubmissionTeacher’sSignature
21. Sin X= X - X^3/3! + X^5/5! - X^7/7! +..N
 ___.___.2010 ___.___.2010
22.Enter some numbers and store them inan array, then enter a number and checkwhether it exists in the array or not.
 ___.___.2010 ___.___.2010
23.Enter some numbers and store them inan array, now create two array of oddand even numbers.
 ___.___.2010 ___.___.2010
24.Write a programme to change a Decimalnumbers to Binary numbers.
 ___.___.2010 ___.___.2010
25.Write a programme to change decimalnumbers to Octal and Hexadecimals.
 ___.___.2010 ___.___.2010
26.Write a programme to change Binarynumbers to Decimals.
 ___.___.2010 ___.___.2010
27.Write a programme to enter elements ina 2D Array and display in Matrix from.
 ___.___.2010 ___.___.2010
28.Write a programme to sort somenumbers using bubble sort and Selectionsort separately.
 ___.___.2010 ___.___.2010
29Write a programme to find the sum ofeach row in a 2D Array.
 ___.___.2010 ___.___.2010
30.Write a programme to find the sum ofeach column of a 2D Array.
 ___.___.2010 ___.___.2010
31.Write a programme to find the sum of thediagonals of a 2D Array.
 ___.___.2010 ___.___.2010
32.Write a programme to find the sum andmultiplication of two matrices.
 ___.___.2010 ___.___.2010
33.Write a programme to find the transposeof a matrix.
 ___.___.2010 ___.___.2010
34.Write a programme to accept a sentenceand find the number of words.
 ___.___.2010 ___.___.2010
35.Write a programme to accept a word andcount the number of vowels.
 ___.___.2010 ___.___.2010
36.Write a programme to accept a sentenceand find number of vowels, consonants,numbers, spaces and special characters.
 ___.___.2010 ___.___.2010
37.Write a programme to accept a word andfind the sum of its ASCII values.
 ___.___.2010 ___.___.2010
38.Write a programme to accept a word andprint it in reverse forms.
  ___.___.2010 ___.___.2010
39.Write a programme to accept a word andcheck whether it is Palindrome or not.
 ___.___.2010 ___.___.2010
40.Write a programme to accept a sentenceand find the occurrence of eachcharacter.
 ___.___.2010 ___.___.2010

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->