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

PF Assignment 3B

The document is an assignment for the Programming Fundamentals course (IT-105) submitted by Yusra Arshad. It includes a list of programming tasks such as swapping values, creating a calculator, calculating powers, finding Fibonacci numbers, converting decimal to binary, and more. The assignment is due on January 9, 2024, and is submitted to Ms. Turrnum Shehzadi.

Uploaded by

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

PF Assignment 3B

The document is an assignment for the Programming Fundamentals course (IT-105) submitted by Yusra Arshad. It includes a list of programming tasks such as swapping values, creating a calculator, calculating powers, finding Fibonacci numbers, converting decimal to binary, and more. The assignment is due on January 9, 2024, and is submitted to Ms. Turrnum Shehzadi.

Uploaded by

yusraarshad613
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/ 8

In The Name of Allah, The Most Gracious and Merciful.

ASSIGNMENT # 3 (FALL – 2023)

Course Title: Programming Fundamentals

Course Code: IT-105

Class & Section: BS-IT 23B

Submitted by: Yusra Arshad

Roll No: 23011556-121

Submitted to: Ms. Turrnum Shehzadi

Submission date: 9th January 2024

Department: Information Technology (IT)


Program -1:

Write a program to swap two values and also find the sum of values.

Program-2:

Write the code of a calculator in C++.


Program-3:

Write a program to calculate the power of a number.


Program-4:

Create a program to find the nth Fibonacci number.


Program-5:

Implement a program to convert decimal to binary.

Program-6:

Implement a program to find the factorial of a number using recursion.


Program-7:

Write a program to find the sum of digits of a number.


Program-8:

Create a program to check if a number is an Armstrong number.

Program-9:

Write a menu driven program which has the following options:


• Factorial of a number
• Prime or not
• Odd or even
• Exit
Once a menu item is selected the appropriate action should be taken.

You might also like