Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
C programming final grade
#include <stdio.h> #include <stdlib.h> int main(void) { //double programmingassingment; double Pa; //Pa=programmingassingment; double Paw; Paw=.15; double Wpa; //double project; double Pt; //Pt=project; double Projectweight; Projectweight=.20; double Wpt; //double Midterm; double Mt; //Mt=Midterm; double Midtermweight; Midtermweight=.30; double Wmt; // double Finalexam; double Fe; //Fe=Finalexam; double Finalexamweight; Finalexamweight=.35; double Wfe; double FinalScore; scanf("%lf%lf%lf%lf",&Pa,&Pt,&Mt,&Fe); Wpa=Pa*Paw; Wpt=Pt*Projectweight; Wmt=Mt*Midtermweight; Wfe=Fe*Finalexamweight; FinalScore=Wpa+Wpt+Wmt+Wfe; printf("%lf percent",FinalScore); }
run
|
edit
|
history
|
help
0
bitwise operations
finding 3 ones in a row
C_141126_ArrayMayorMenor02
use_of_bool_in_loop
Estrutura
Hello
a1
C dynamic string implementation using preprocessor
orange blue bell Einstein's piece chastitise then
convertletter