Professional Documents
Culture Documents
Fybca Sem-2 Journal 2 - 2024 Ps
Fybca Sem-2 Journal 2 - 2024 Ps
Fybca Sem-2 Journal 2 - 2024 Ps
FYBCA Sem-2
Subject: 204 Programming Skills
Submission Date: 21/02/2024
1. Write a C program that accepts a string and replaces all the even number characters
with their place position using UDF.
Example:
Input: NAVSARI
Output: N2V4A6I
2. Write a program that input string. Pass string in User Defined Function as
parameter to count Total Consonants and vowels.
3. Write a c program that creates structure Student with sid, sname, sem, per (%).
Input 5 Students
Display those Student's name who have achieved more than 70% in sem 3.
4. Write a program that creates structure Employee with id, name and salary. Enter
data of five Employees. Display data of those employees whose salary is less than
15,000.
5. Create a C structure, volume with fields: litter and millilitre. Read the value of two
volumes and add them, if the value of millilitre is more than 1000 then add it to litter
value.