Code:
#include <stdio.h>
#include <conio.h>
#include <math.h>
main(){
int mark,num,pass=0,count;
float ppass;
printf("Please enter number of marks?:");
scanf("%d",&num);
for (count=0;count<num;count++)
{
printf("Enter mark%d:",count+1);
scanf("%d",&mark);
if (mark>=50)
Leave a comment: