All C programming & Algorithm
The algorithm you use in C programming language is also the same algorithm you use in every other language.
15/06/2019
=================== Marks Grade =================== 0‐34 Fail 35‐59 Second Class 60‐79 First Class 80‐59 Dist void main() { char name; int roll_no,sub1,sub2,sub3,total; float avg; printf("\n\nEnter name of the student="); scanf("%s",name); printf("\n\nEnter roll number of the student="); scanf("%d",&roll_no); printf("\n\nEnter marks of maths="); scanf("%d",&sub1); printf("\n\nEnter marks of physics="); scanf("%d",&sub2); printf("\n\nEnter marks of chemistry="); scanf("%d",&sub3); total=sub1+sub2+sub3; avg=total/3; printf("\n\nTotal=%d",total); printf("\n\nAverage=%f\n\n",avg); if(avg>=0 && avg=35 && avg=60 && avg
Write a program to read marks from keyboard and your program should display equivalent grade according to following table. =================== Marks Grade =================== 0‐34 Fail 35‐59 Second Class 60‐79 First Class 80‐59 Dist void main() { char name[50]; int …
14/06/2019
void main() { int a,b,c; printf("\n\nEnter three numbers="); scanf("%d %d %d",&a,&b,&c); if (a
Write a program to arrange any three numbers in ascending order. void main() { int a,b,c; printf(“ Enter three numbers=”); scanf(“%d %d %d”,&a,&b,&c); if (a
Click here to claim your Sponsored Listing.
Category
Contact the business
Address
Ahmednagar
380024