C Programming
C Programming

Write a simple C program to enter five subject marks and calculate its average , how to add five subject marks in c programming , c program to calculate marks of five subject , sum and percentage marks program in c language #C

Write a simple C program to enter five subject marks and calculate its average , how to add five subject marks in c programming , c program to calculate marks of five subject , sum and percentage marks program in c language #C

C Programming
C Programming

Write a simple C program to enter five subject marks and calculate its average , how to add five subject marks in c programming , c program to calculate marks of five subject , sum and percentage marks program in c language #C

 

#include<stdio.h>

int main()

{

    int m1,m2,m3,m4,m5,aggr;

    float per;

    printf(“\n enter marks in 5 subjects”);

    scanf(“%d %d %d %d %d”,&m1, &m2, &m3, &m4, &m5);

    aggr=m1+m2+m3+m4+m5;

    per=aggr/5;

    printf(“Aggregate marks = %d\n”,aggr);

    printf(“percentage marks = %f\n”,per);

    return 0;

}

 


 

Topics Covered :

  • programming
  • how to add five subject marks in c programming
  • c program to calculate marks of five subject
  • sum and percentage marks program in c language
  • c language in hindi
  • c language
  • python mcq
  • latest news
  • computer
  • khan sir
  • python aktu
  • narendra modi
  • aktu exam 2021
  • basic
  • c mcq
  • covexin
  • new movie
  • covidshield
  • yogi
  • film
  • python
  • corona
  • c programming course
  • c programming language
  • c programming language tutorial
  • c (programming language)
  • c tutorial
  • arrays
  • c course
  • c programming language tutorial for beginners
  • programming language (software genre)
  • for loop
  • pointers
  • examples
  • literals
  • tutorial
  • functions
  • data types
  • user input
  • structures
  • while loop
  • do while loop
  • loops
  • switch
  • beginners
  • language basics

 


 

 


 

Thanks for reading this blog. Hope you get satisfied with the blog and definitely this blog must have valued your time and effort of reading.

Take a time to connect our other digital creations such as Instagram , Facebook and Youtube.

 

🧑‍💻🧑‍💻 Social Media Links of Tech DCode :

👉🏻 YouTube : https://www.youtube.com/channel/UCjJnEdeugftBwQ3yMuD4B_A
👉🏻 Instagram : https://www.instagram.com/thetechdcode/
👉🏻 Facebook Page : https://www.facebook.com/thetechdcode
👉🏻 Twitter : https://twitter.com/thetechdcode
👉🏻 Telegram Channel : https://t.me/thetechdcode
👉🏻 Tech DCode Linktree : https://linktr.ee/thetechdcode
👉🏻 My Personal Handles : https://linktr.ee/virtualshivamin

🧑‍💻🧑‍💻 Social Media Links of SHIVAM SINGH (OWNER) :

👉🏻 Instagram : https://www.instagram.com/virtualshivamin/
👉🏻 Facebook Page : https://www.facebook.com/virtualshivamin/
👉🏻 Twitter : https://twitter.com/virtualshivamin/
👉🏻 Personal Linktree : https://linktr.ee/virtualshivamin 

Leave a Reply

Your email address will not be published. Required fields are marked *