keshab
keshab answered
#include<stdio.h> #include<conio.h> void main() { int sum,no; int I,j,k; float avg; int std_marks[100]; clrscr(); sum=0; printf("Please enter the number of student appear in the examination n::"); scanf("%d",&no); printf("Please enter the marks of %d student one by onen",no); for(I=1;I<=no;I++)   {   scanf("%d",&std_marks[I]);   } for(j=1;j<=no;j++) {    sum=sum+std_marks[j]; } avg=sum/no; printf("The marks of the students … Read more
keshab
keshab answered
#include<stdio.h> #include<conio.h> void main() { int no1, no2, op; clrscr(); printf("Enter the value of first non"); scanf("%d",&no1); printf("Enter the value of second non"); scanf("%d",&no2); printf("n choose the arithmatic operation you want to performn"); printf("n press [1] for addition"); printf("n press [2] for substraction"); printf("n press [3] for multiplication"); printf("n press [4] for divisionn"); scanf("%d",&op); switch(op) … Read more