0% found this document useful (0 votes)
72 views4 pages

Cse 174

The document lists 20 programming problems to solve in C, including writing programs to: change text and output box colors, perform basic math operations on numbers, handle different data types, find ASCII values, use character data, calculate sums and averages, find volumes, solve equations, print odd numbers, determine leap years, and compare relations. It also includes problems to determine grades, identify number signs, print alphabets, calculate triangle areas, print year digits, and swap numbers.

Uploaded by

masummaruf111
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)
72 views4 pages

Cse 174

The document lists 20 programming problems to solve in C, including writing programs to: change text and output box colors, perform basic math operations on numbers, handle different data types, find ASCII values, use character data, calculate sums and averages, find volumes, solve equations, print odd numbers, determine leap years, and compare relations. It also includes problems to determine grades, identify number signs, print alphabets, calculate triangle areas, print year digits, and swap numbers.

Uploaded by

masummaruf111
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/ 4

CSE 174

AE-15
Problems:
1. Write a C program to change the Color of the text and the
output box.
2. Write a C program to find addition, subtraction,
multiplication and subtraction of two numbers.
3. Write a C program to get an output of int, float type data .
a) Without using scanf
b) Using scanf (for float type using 4 digit, 3 digit after decimal
point)
4. Write a C program to print the ASCII value of a character.
5. Write a C program using char type data.
6. Write a C program to find the sum of the digits of a 4 digit
number.
7. Write a C program to find the average of multiple numbers.
8. Write a C program to find the volume of a sphere.
9. Write a C program to solve linear and quadratic equation.
10. Write a C program to print all odd numbers between 1 to
100.
11. Write a C program to print the last digit of a number.
12. Write a C program to determine leap year .
13. Write a C program to find the smallest and greatest number
of the given numbers using conditional operator.
14. Write a C program to execute these relations:
(a==b)&&(c>b)
(a==b)&&(c<b)
(a==b)||(c<b)
(a!=b)||(c<b)
!(a!=b)
!(a==b)
15. Write a C program to determine grades.
16. Write a C program to determine positive, negative and zero
numbers.
17. Write a C program to print all the alphabets from A to Z
(uppercase and lowercase)
18. Find the area of a triangle (Value of the sides are given)
19. Write a C program to print last 2 digits of a year.
20. Write a C program to swap two numbers.

You might also like