fork download
  1. //*******************************************************
  2. //
  3. // Homework: 2
  4. //
  5. // Name: Timothy Stockton
  6. //
  7. // Class: C Programming, Summer 2025
  8. //
  9. // Date: June 3, 2025
  10. //
  11. // Description: Program which determines gross pay
  12. // and outputs are sent to standard output (the screen).
  13. //
  14. //********************************************************
  15.  
  16. #include <stdio.h>
  17. #include <stdbool.h>
  18. int main ( )
  19. {
  20. int clockNumber; // employee clock number
  21. float grossPay; // gross pay for week (wage * hours)
  22. float hours; // number of hours worked per week
  23. float wageRate; // hourly wage
  24.  
  25. int i; // loop index
  26. int n; // loop test
  27. bool testtt = ! ( 4 && 5 );
  28.  
  29. printf("Is programming fun? %d\n", testtt); // Prints 1
  30.  
  31. return (0); // success
  32.  
  33. } // main
Success #stdin #stdout 0.01s 5320KB
stdin
Standard input is empty
stdout
Is programming fun? 0