0% found this document useful (0 votes)
41 views1 page

SPL All Codes

Uploaded by

aafwathossain
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
41 views1 page

SPL All Codes

Uploaded by

aafwathossain
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

C PROGRAMMING ALL CODES

1)Write a C program that prints your name.


2)Write a C program that prints only the value of Area of Circle.
3)Write a C program that prints Area , Circumference of rectangle. [l=10.5,w=20.5]
4) i)Celcius to Farenheit
5)Farenheit to Celcius.
6)Feet to Meter
7 )Meter to Feet.
8)Write a C program that check a number is positive,negative or zero
9)Grading System.
10)Write a C program that prints a number is Even or Odd.
11)Vowel or Consonant
12)Vowel or Consonant (Switch)
13)Write a C program that check whether a number is divisible by 3 or 5.
14) Write a C program that check whether a number is divisible by 3 & 5.
15)Print all the positive number from 1 to 100
16)Write a C program that prints the following series(using while loop)
2 4 6 8 10 12 14 16 18 20
17)Write a C program that prints the following series:-(using for loop)
1+2+3+4+5+6+7+8+9+10
18)Write a C program that find the sum of following series:-
2 4+6+8+10+12+14+16+18+20
19)Write a C program that prints the following series:-
1 2 3 4 5 6 7 8 9 10
20)write a C program that print the character until ‘Z’.
21) Write a C program that implements strlen(),strcat(),strcmp(),strcpy().
22) 1 1 1 1 1 24)5 4 3 2 1 25) 5 5 5 5 5 26)5 27)5 28)1 2 29)1
22222 54321 44444 4 4 54 123 22
33333 54321 33333 333 543 1234 333
44444 54321 22222 2222 5432 4444
55555 54321 11111 11111 54321

30)4 4 4 4 31)4 3 2 1 32)* * * * *


333 3 21 ****
22 21 ***
1 1 **
*
33)Write a C program that check whether a number is prime or not.
34)find Fibonacci series up to n-term.
35)Write a C program that check whether a number is palindrome or not.
36)Write a C program that calculate summation of digits in a number.

You might also like