fork(9) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int standford_application(int GPA, int FRC, int vader);
  5.  
  6. int main() {
  7.  
  8. int Yoda = standford_application(4.0, 0, 0);
  9. if(Yoda) printf("Yoda gets into Standford! \n");
  10. else printf("Yoda does not get into Standford!\n");
  11.  
  12. int Leia = standford_application(4.0, 0, 1);
  13. if(Leia) printf("Leia gets into Standford! \n");
  14. else printf("Leia does not get into Standford!\n");
  15.  
  16. int Kylo = standford_application(3.5, 0, 0);
  17. if(Kylo) printf("Kylo gets into Standford! \n");
  18. else printf("Kylo does not get into Standford!\n");
  19.  
  20. int Rey = standford_application(3.34, 1, 0);
  21. if(Rey) printf("Rey gets into Standford! \n");
  22. else printf("Rey does not get into Standford!\n");
  23.  
  24. return 0;
  25. }
  26.  
  27. int standford_application(int GPA, int FRC, int vader)
  28. {
  29. //your code here
  30. return 0;
  31. }
Success #stdin #stdout 0s 4332KB
stdin
Standard input is empty
stdout
Yoda does not get into Standford!
Leia does not get into Standford!
Kylo does not get into Standford!
Rey does not get into Standford!