The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | May 2017 |
| Last Sign in: | 399 Weeks Ago, 1 Day Ago |
| Questions Answered: | 66690 |
| Tutorials Posted: | 66688 |
MCS,PHD
Argosy University/ Phoniex University/
Nov-2005 - Oct-2011
Professor
Phoniex University
Oct-2001 - Nov-2016
I keep getting "Nothing to be done for Grade.cpp" I Dont Know Why!!!! aghhh here's code
#include <stdio.h>
int main ()
{
float PA, FP, MT, QZ, FE; Grade
if (Grade >= 90)
{
  printf("A! Great Job Tiger!\n");
  else if (Grade >= 80)
  printf("B!, Pretty Darn Tooten!\n");
  else if (Grade >= 70)
  printf("C, Ummm, too much Call of Dutes buddy\n");
  else
  printf("F, There's always welfare\n");
printf("Hello Scholar, input your estimated grades for each category\n");
printf("Project Assignments\n");
scanf("%f\n", PA);
printf("Final Project\n");
scanf("%f\n", &FP);
printf("MidTerms\n");
scanf("%f\n", &MT);
printf("Quizzes\n");
scanf("%f\n", &QZ);
printf("Final Exam\n");
scanf("%f\n", &FE);
Grade = ((PA*.4)+(FP*.1)+(MT*.2)+(QZ*.1)+(FE*.2))
return 0
}
Hel-----------lo -----------Sir-----------/Ma-----------dam-----------Tha-----------nk -----------You----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------acq-----------uis-----------iti-----------on -----------of -----------my -----------pos-----------ted----------- so-----------lut-----------ion-----------.Pl-----------eas-----------e p-----------ing----------- me----------- on-----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be-----------