#include<stdio.h>
#include<conio.h>
void main ()
{
float m1,m2,m3;
float per;
float total;
clrscr();
printf(" enter the marks of m1");
scanf("%f", &m1);
printf(" enter the marks of m2");
scanf("%f", &m2);
printf("enter the marks of m3");
scanf("%f", &m3);
total= m1+m2+m3;
printf("the value of marks is %.2f",total);
per = (total/300)*100;
printf(" the percentage of each subjects is %.2f:", per);
getch();
}
Monday, 8 June 2015
write a program in turbo C to find the percentage of the subjects.
Subscribe to:
Post Comments (Atom)
Download APPVN Application
Click On The Link Below To Download https://drive.google.com/file/d/0B9_t9aTL848ceUNoQ0lUMnJzTFE/view?usp=drivesdk
-
#include <stdio.h> int main ( ) { int m , n , c , d , matrix [ 10 ] [ 10 ] , transpose [ 10 ] [ 10 ] ; printf ( ...
-
click on the link below to download https://drive.google.com/open?id=0B9_t9aTL848cTVczczB5T0xCUjQ
-
Click On The Link Below To Download https://drive.google.com/file/d/0B9_t9aTL848ceUNoQ0lUMnJzTFE/view?usp=drivesdk
No comments:
Post a Comment