http://www.ziddu.com/download/20301356/UNIT5_part5.1_5.2_5.3_latest.rar.html
exercise 4(unit 3) solution
base on the flow chart.
write a coding.
Here is the example which implementing while loop.
#include <stdio.h>
main()
{
int a =1;
float total = 0;
int total_A = 0;
int total_B = 0;
int total_C = 0;
int total_D = 0;
int total_F = 0;
float marks;
while (a<19) // be aware that in the flow chart i just use 11 for 10 value, in the test data it give 18
values.
{
printf("\nInsert the %d's student's marks = ", a);
scanf("%f", &marks);
if (marks>100) {
printf("Invalid marks value(must be less than 100)");
} else if (marks>=90) {
//printf("Grade is: A");
total_A+=1;
} else if (marks>=70) {
//printf("Grade is: B");
total_B+=1;
} else if (marks>=50) {
//printf("Grade is: C");
total_C+=1;
} else if (marks>=35) {
//printf("Grade is: D");
total_D+=1;
} else if (marks>=0) {
//printf("Grade is: F");
total_F+=1;
} else {
printf("Invalid score");
}
a++;
}
printf("A's scorer = %d\n",total_A);
printf("B's scorer = %d\n",total_B);
printf("C's scorer= %d\n",total_C);
printf("D's scorer= %d\n",total_D);
printf("D's scorer= %d\n",total_F)
}
RFID READING MATERIAL
Here are some good information to enhance your knowledge.
http://www.ziddu.com/download/20225195/RFIDTutorial.rar.html
RFID TECHNOLOGIES
WIRELESS SLIDE UNIT 4
DEAR ATHIRAH,
thank you so much for noticing me.
http://www.ziddu.com/download/20225002/Unit4_Jul.rar.html
SELAMAT HARI RAYA
EXERCISE 4 C PROGRAMMING(UNIT 3)
Assalamualaikum,
First of all I would like to thanks mr usman, mr ridzuan mohayudin, mr afdzal and mr daus for their feedback for the given exercises.
Mr hasnan has send me an email but maybe he forgotted to attach the file.
Honestly i was really frustrated, bored and upset with your attitude.
THE ONLY MAN THAT CAN CHANGE YOU IS YOU!
DO SELF MUHASABAH TO DETERMINE THE MAIN OBJECTIVE YOU ENTERING THIS COLLEGE!
you must do something!
you must do something!
you must do something!
fyi: none of you are having the right solution for exercise 4.
I do really look up for some of you to see me yesterday.
but none of you do so...
BEST OF LUCK!
C PRO SLIDE UNIT 4
Assalamualaikum Asahi san,
Here is your latest slide:
http://www.ziddu.com/download/20074801/UNIT4_1.rar.html
Happy Praying...



