Pic Activity 1
Pic Activity 1
Technology
Semester: I
Specialisation: COMMON
22BCA1C04: PROGRAMMING IN C
Activity 1
Date of Submission:21/10/2022
Faculty Incharge
Signature: Sonali Karale
1 | Page
INDEX
2 AIM/PROCEDURE 4
3 ALGORTHIM 4
4 FLOWCHART 5
5 RESULT 7
2 | Page
CERTIFICATE
This is to certify that ________________________________ has
satisfactorily completed activity prescribed by JAIN Deemed to be
university for the first semester degree course in the year 2022-2023.
Assignment topic ____________ for Activity-1
MARKS
Sl.No CRITERIA MARKS
OBTAINED
1 Problem Statement/
25
Flowchart/Algorithm
2 Viva 15
3 Report 10
4 TOTAL 50
5 CONVERT 15
MARKS
MAX OBTAINED
3 | Page
INTRODUCTION:-
Currency converters aim to maintain real-time information on current
market or bank exchange rates, so that the calculated result changes
whenever the value of either of the component currencies does. They do
so by connecting to a database of current currency exchange rates.
ALGORITHM:-
STEP 1 : START
STEP 2 : Input ch
STEP 3 : Enter the choice
STEP 4 : enter the value (to do the required function mention
In the suitable case)
STEP 5 : Output ch
STEP 6 : STOP/END
4 | Page
FLOWCHART:-
START
INPUT CH
SWITCH
(CH)
Scanf(“%f”,&rupees);
Case 1
Dollar=rupees/75;
5 | Page
printf(“enter the currency in rupees = ”);
Case 3 Scanf(“%f”, &rupees);
Break;
euro=rupees/85;
Scanf(“%f”, &rupees);
Case 4 Break;
Kuwati dinar=rupees/240;
Scanf(“%f”, &rupees);
`+9
yen=dollar*85 Break;
Printf(“the currency of yen is ,yen”);
printf(“enter the currency in dollar = ”);
euro=dollar\120; Break;
Case 9
Printf(“the currency of euro is ,euro”);
6 | Page
printf(“enter the currency in swiss franc= ”);
Case 10
Scanf(“%f”, & swiss franc);
franc”);
Case 11 Default
Break;
Printf(“you have entered wrong
choice”);
stop
RESULT:-
7 | Page