Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Programming Questions in C, Assignments of Computer Science

Contains every type of basic programming questions possible in C language given in every college in Computer Science.

Typology: Assignments

2022/2023

Uploaded on 04/04/2024

soumila-roy
soumila-roy 🇮🇳

1 document

Partial preview of the text

Download Programming Questions in C and more Assignments Computer Science in PDF only on Docsity! CS Questions: 1.WAP to display the sum, difference, product and quotient of two nos. 2. WAP to calculate the area of circle. 3. WAP to find simple interest. 4. WAP to convert Celcius to Farenheit. 5. WAP to check whether the no. is or not.2𝑛 6. WAP to print the grade of a student depends on the marks. Marks Grade <40 Fail >=40 Pass 7. WAP to print the grade of a student depends on the marks. Marks Grade <40 Fail >=40 but <60 2ND Division >=60 but <75 1ST Division >=75 but <=100 Star >100 Invalid Input 8. WAP to print the biggest among three integers using only if statement. 9. WAP to print the commission value from the sales value. Comission Value Sales Value < ₹10000 0 > =₹10000 but <₹50000 ₹1000 + 10% excess sales over ₹10000 > =₹50000 but <₹100000 ₹2000 + 20% excess sales over ₹50000 >= ₹100000 30% 10. WAP to print the ascii code of the character. 11. WAP to print the quotient and remainder of given two nos. 12. WAP to print the size of different variables. 13. WAP to check the given no. is even or odd. 14. WAP to check the character is vowel or consonant. 15. WAP to compute the roots of a quadratic equation. 16. WAP to print the sum of n nos. 17. WAP to print the sum of the given series: 1𝑚 + 2𝑚 + 3𝑚 +......... + 𝑛𝑚 18. WAP to print the address of a variable. 19. WAP to check the no. is prime or not. 20. WAP to check the no. is perfect or not. 21. WAP to check the no. is armstrong or not. 22. WAP to check the no. is palindrome or not. 23. WAP to check the no. is Krishnamurthy no. or not.
Docsity logo



Copyright © 2024 Ladybird Srl - Via Leonardo da Vinci 16, 10126, Torino, Italy - VAT 10816460017 - All rights reserved