Posts

Showing posts with the label Letter Grade

Letter Grade Calculater

Image
 I write a program which calculate the letter grade.  It is also simple program. I started to use dynamic  memory allocation with this program.    Here is the code : #include <stdio.h> #include <stdlib.h> void pass(double *a,int b,char *c) {     int i;     double d=0;     for(i=0;i<b;i++)     {         d+=a[i];     }     d/=(double)b;     if(d<101&&d>89)     *c='A';     else if(d<90&&d>79)     *c='B';     else if(d<80&&d>69)     *c='C';     else if(d<70&&d>59)     *c='D';     else if(d<60&&d>0)     *c='F';     else     *c='E'; } int main() {     int num,i...

Programlama Macerası

Program yazmaya C ile başladım ama C çok mu etkili bir yazılım dili diye sorarsanız kesinlikle değil. Başlangıç olarak basit programlarla başladım ve bunları da paylaşmak istedim yavaş yavaş kendimi de geliştirmeye çalışıyorum yeni programlarla görüşmek üzere :)