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

C Programming Assignment Sample

This document outlines a C programming assignment for first-semester CSE students, including basic programming tasks. The assignment consists of ten questions that cover fundamental concepts such as arithmetic operations, control structures, and array manipulation. Students are required to write programs to perform various operations, including finding sums, checking even/odd numbers, and implementing sorting algorithms.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views1 page

C Programming Assignment Sample

This document outlines a C programming assignment for first-semester CSE students, including basic programming tasks. The assignment consists of ten questions that cover fundamental concepts such as arithmetic operations, control structures, and array manipulation. Students are required to write programs to perform various operations, including finding sums, checking even/odd numbers, and implementing sorting algorithms.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

C Programming Assignment Sample

Name: __________________________

Roll: ___________________________

Department: CSE

Semester: 1st

Course Title: Structured Programming Language

Course Code: CSE 1101

Assignment Questions:
1. Write a C program to find the sum, average, and product of three numbers.

2. Write a C program to find whether a number is even or odd.

3. Write a program to check whether a given year is a leap year or not.

4. Write a program to calculate the factorial of a number using a loop.

5. Write a C program to find the largest and smallest number in an array.

6. Write a program to print the multiplication table of any number.

7. Write a program to implement a simple calculator using switch-case.

8. Write a program to reverse a number entered by the user.

9. Write a program to count the number of vowels and consonants in a string.

10. Write a C program to sort an array using bubble sort.

You might also like