0% found this document useful (0 votes)
2 views

Assignment1-1

The document outlines the guidelines for submitting Assignment-1 for a Programming for Problem Solving course, with a submission deadline of 10-Feb-2025. It lists ten programming tasks, including bitwise operations, finding maximum values, checking leap years, and printing patterns. Additionally, it specifies that the output of all programs and an index must be included in the assignment file.

Uploaded by

konet52100
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)
2 views

Assignment1-1

The document outlines the guidelines for submitting Assignment-1 for a Programming for Problem Solving course, with a submission deadline of 10-Feb-2025. It lists ten programming tasks, including bitwise operations, finding maximum values, checking leap years, and printing patterns. Additionally, it specifies that the output of all programs and an index must be included in the assignment file.

Uploaded by

konet52100
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

Programming for Problem solving

Assignment-1
Assignment Submission Guidelines
 Last Date of Submission: 10-Feb-2025
 The output of all programs must be included.
 The assignment file must contain an index.

1. Implement bitwise AND, OR, XOR, and NOT operations on two integers.
2. Write a program to find the maximum of three numbers using the ternary operator
3. Write a program to display the number of days in a given month using switch-
case.
4. Write a program to check if a year is a leap year or not, using if-else.
5. Write a program to find the sum of digits of a number using a loop.
6. Reverse a given integer using a loop.
7. Print all prime numbers within a given range using nested loops.
8. Write a program to find the first even number in an array using a loop with break.
9. Write a program to print all odd numbers between 1 and 50 using continue.
10. Print the following patterns using nested loops:
*
**
***
****

You might also like