#include <stdio.h> #include <conio.h> //Find average marks of 5 subjects - FScOnline.info int main() { int a,b,c,d,e,average; printf("Enter marks of subject 1: "); scanf("%d",&a); printf("Enter marks of subject 2: "); scanf("%d",&b); printf("Enter marks of subject 3: "); scanf("%d",&c); printf("Enter marks of subject 4: "); scanf("%d",&d); printf("Enter marks of subject 5: "); scanf("%d",&e); average=(a+b+c+d+e)/5; printf("\nAverage: %d",average); getch(); return 0; }
Trending
- Pak Studies 10th Class Paper Scheme 2022 for Punjab Board
- 10th Class Pak Studies Guess Paper 2022 Punjab Board [Download PDF]
- Army Public School APS & College Teaching & Non-Teaching Jobs 2022
- UET Lahore Admissions for Short Courses June-July Session 2022
- Pakistan Institute of Management Science PIMS Offer Diploma Courses 2022
- University of Education 2nd Notification for Affiliated Degrees 2022-23
- GCU Lahore Issue LLB Fee Submission Schedule 2022
- Coca Cola International Internship 2022 Apply Now
- Information Technology Department Gilgit Baltistan Jobs 2022
- Aitchison College Senior School Latest May Jobs 2022
Find and Print Average Marks of 5 Subjects – C Program
I'm a full-stack developer, specializing in the PHP, JS, Wordpress, MEAN Stack, MERN Stack & Django. I hold a high standard of quality in everything that I do.
You might also like