Machine Problem

Write a program that will ask the student to give the prelim, midterm, and final grade, and then the program will compute the average grade of the student and display the result on the screen.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me at the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.
My email address is the following,, and

My mobile number here in the Philippines is 09173084360.

Please subscribe to my channel


You can buy my C++ book online at  

Beginner’s Guide To C++ Programming
You can buy my book in introduction to computer networking at Want to support my channel? GCash Account Jake Pomperada 09173084360 Paypal Patreon Thank you very much for your support.
Program Listing

/* grade.c
   Author   : Jake Rodriguez Pomperada,BSCS,MAED-IT
   Date     : November 13, 2018  Tuesday 9:44 PM
   Location : Bacolod City, Negros Occidental
   Tool     : Dev C++ Version 5.11
   Website  :
   Email    :

#include <stdio.h>

int main() 
  float solve_average=0.00;
  float prelim=0.00,midterm=0.00,final=0.00;
  system("COLOR F0");
  printf("\tStudent Grade Calculator in C");
  printf("\tGive Prelim Grade   : ");
  printf("\tGive Midterm Grade  : ");
  printf("\tGive Final Grade    : ");

  solve_average =(prelim+midterm+final)/3;

  printf("\t===== DISPLAY RESULTS =====");
  printf("\tThe student average grade is %.0f.",solve_average);
  printf("\tEND OF PROGRAM");