B.C.A. SEM.
1 – C Assignment 1
Save the following programs into the following folder. For example, your name is Amit and
you are studying in BCA 1 st C, then save the following programs into
D:\BCA1C\AMIT\CLANG\ASSIGN\A1P1.C.
1. Write a C program to perform Addition, Subtraction, Multiplication, and Division of two
numbers inputted (entered) by the user. (Program Name: A1P1.C)
2. Write a C program to input (enter) four subject marks C, HTML, CF, and Maths, and
display (print) four subject marks, total marks, and percentage on the screen. (Program
Name: A1P2.C)
3. Write a C program to print (display) Multiplication Table of the number inputted
(entered) by the user. (Program Name: A1P3.C)
4. Write a C program to calculate and print (display) Simple Interest SI = (p * r * n)/100
for Principal Amount, Rate Of Interest, and Number Of Years entered (inputted) by the
user. (Program Name: A1P4.C)
5. Write a C program to calculate and print Area Of Circle A=πr2 for the Radius entered
(inputted) by the user. Here, the value of PI is 3.14. (Program Name: A1P5.C)
6. Write a C program to calculate and print Circumference Of Circle C=2πr for the Radius
entered (inputted) by the user. Here, the value of PI is 3.14. (Program Name: A1P6.C)
7. Write a C program to calculate and print (display) Compound Interest CI = 1 + (r /
100)n – p for Principal Amount, Rate Of Interest, and Number Of Years entered
(inputted) by the user. (Program Name: A1P7.C)
8. Write a C program to swap or interchange or exchange values of two variables inputted
(entered) by the user. Do this program using third variable and without using third
variable. (Program Name: A1P8.C)
9. Write a C program to print (display) Sum Of Digits of the three-digit number inputted
(entered) by the user. (Program Name: A1P9.C)
Date of submission : Saturday, August 02, 2025
Created by HIRAK BUCH, Shree H. J. Doshi IT Institute, Jamnagar Page 1 of 1