Question: 1.We are writing a code to help a spy with code name U(a good spy) to keep notes. When U tries to write notes, you
1.We are writing a code to help a spy with code name U(a good spy) to keep notes. When U tries to write notes, you have to add 1 to add symbols in place of the characters. Here is the list In place of A/a put ! In place of E/e put @ In place of I/i put # In place of O/o put $ In place of U/u put ~ So if someone writes This is an important note You will change it to Th#s #s !n #mp$rt!nt n$t@ a. Please write the code to help me out. Also count the string length using built in C function and your own function. [10+5+5] b. Print this string in a file named SpyCode.txt [10]
2.You have to help Dr. Golap with her research about patients with Covid. She has to collect information about patients age, gender, location (name of village) and whether the patient got Covid or not in 3 different villages of Rajshahi (village A has 200 people, B has 300 people and C has 50 people). Once information about all the village people are collected you have to print the following information along with developing the structure for patients. a. Design a structure for patients and the variable for it. [10] a. Total number of Covid patients [10] b. Which village has most people affected in percentage (e.g., village A got 90% people impacted compared to village B and C having only 50% affected) [10] c. Average age of Covid patients [10]
ALL OF THESE ARE IN C PROGRAMMING
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
